HttpClientHelper class
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
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
close()
→ void
-
-
delete(Uri url, {CancellationToken? cancelToken, int retries = 3, Duration? timeLimit, Duration timeRetry = const Duration(milliseconds: 100), FutureOr<Response> onTimeout()?})
→ Future<Response?>
-
-
get(Uri url, {CancellationToken? cancelToken, int retries = 3, Duration? timeLimit, Duration timeRetry = const Duration(milliseconds: 100), FutureOr<Response> onTimeout()?})
→ Future<Response?>
-
-
head(Uri url, {CancellationToken? cancelToken, int retries = 3, Duration? timeLimit, Duration timeRetry = const Duration(milliseconds: 100), FutureOr<Response> onTimeout()?})
→ Future<Response?>
-
-
patch(Uri url, {Object? body, Encoding? encoding, CancellationToken? cancelToken, int retries = 3, Duration? timeLimit, Duration timeRetry = const Duration(milliseconds: 100), FutureOr<Response> onTimeout()?})
→ Future<Response?>
-
-
post(Uri url, {Object? body, Encoding? encoding, CancellationToken? cancelToken, int retries = 3, Duration? timeLimit, Duration timeRetry = const Duration(milliseconds: 100), FutureOr<Response> onTimeout()?})
→ Future<Response?>
-
-
put(Uri url, {Object? body, Encoding? encoding, CancellationToken? cancelToken, int retries = 3, Duration? timeLimit, Duration timeRetry = const Duration(milliseconds: 100), FutureOr<Response> onTimeout()?})
→ Future<Response?>
-
-
read(Uri url, {CancellationToken? cancelToken, int retries = 3, Duration? timeLimit, Duration timeRetry = const Duration(milliseconds: 100), FutureOr<String> onTimeout()?})
→ Future<String?>
-
-
readBytes(Uri url, {CancellationToken? cancelToken, int retries = 3, Duration? timeLimit, Duration timeRetry = const Duration(milliseconds: 100), FutureOr<Uint8List> onTimeout()?})
→ Future<Uint8List?>
-
-
send(BaseRequest request, {CancellationToken? cancelToken, int retries = 3, Duration? timeLimit, Duration timeRetry = const Duration(milliseconds: 100), FutureOr<StreamedResponse> onTimeout()?})
→ Future<StreamedResponse?>
-
-
set(Client value)
→ void
-
-
setClient(Client client)
→ void
-