HttpMessage class abstract interface

HTTP message universal interface.

Implementers
Available extensions

Properties

body Stream<Uint8List>?
Request/Response body.
no setter
encoding Encoding
Body encoding
no setter
hashCode int
The hash code for this object.
no setterinherited
headers Headers
Request/Response headers.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

json() Future

Available on HttpMessage, provided by the HttpMessageJson extension

Returns the body as JSON.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
text() Future<String?>

Available on HttpMessage, provided by the HttpMessageText extension

Returns the Request/Response body as String.
toString() String
A string representation of this object.
inherited

Operators

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