HttpClient class

Implemented types

Constructors

HttpClient({required HttpClientConfig config})

Properties

config HttpClientConfig
final
hashCode int
The hash code for this object.
no setterinherited
interceptor HttpInterceptor
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status HttpClientStatus
final

Methods

delete<T>(String endpoint, {HttpRequestOption? option}) Future<Response<T>>
override
get<T>(String endpoint, {HttpRequestOption? option}) Future<Response<T>>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch<T>(String endpoint, {HttpRequestOption? option, Object? body}) Future<Response<T>>
override
post<T>(String endpoint, {HttpRequestOption? option, Object? body}) Future<Response<T>>
override
put<T>(String endpoint, {HttpRequestOption? option, Object? body}) Future<Response<T>>
override
send<T>(String method, String endpoint, {HttpRequestOption? option, Object? body}) Future<Response<T>>
override
toString() String
A string representation of this object.
inherited

Operators

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