MessageConverter class
Converts HTTP messages to and from to ones used by the http
package.
Constructors
- MessageConverter({Encoding defaultResponseEncoding = utf8})
-
Creates an instance of the converter.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
request(
HttpRequest request) → Request -
Converts HttpRequest to
Request
. -
response(
Response response) → HttpResponse -
Converts
Response
to HttpResponse. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited