HttpRequest class
The request which is sent by the client and received by the server
- Inheritance
-
- Object
- HttpMessage
- HttpRequest
Constructors
- HttpRequest(String method, Uri uri, {String body = ''})
Properties
- body → String
-
Message body
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
→ LinkedHashMap<
String, String> -
Message headers. Case-insensitive.
finalinherited
- isDelete → bool
-
no setter
- isGet → bool
-
no setter
- isOptions → bool
-
no setter
- isPatch → bool
-
no setter
- isPost → bool
-
no setter
- method → String
-
Request method, lowercase
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uri → Uri
-
Requested URI
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited