HttpRequest class

The request which is sent by the client and received by the server

Constructors

HttpRequest(String method, Uri uri, {String body = '', Map<String, String> headers = const {}})

Properties

body String
Request body
final
hashCode int
The hash code for this object. [...]
read-only, inherited
headers Headers
Request headers. Lowercase keys
final
method String
Request method, lowercase
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
uri Uri
Requested URI
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited