HttpClient class abstract interface

Class that represents the HTTP methods.

Implementers

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

delete<T>(String endpoint, {bool authenticate = false, Object? body, Map<String, String>? headers, Map<String, dynamic>? queryParameters, String? replaceBaseUrl, String? segment, bool? showLogs, String? step}) Future<HttpResponse<T>>
Method that represents the HTTP's DELETE method.
download(String endpoint, String pathToSave, {bool authenticate = false, Object? body, Map<String, String>? headers, Map<String, dynamic>? queryParameters, String? replaceBaseUrl, String? segment, bool? showLogs, String? step}) Future<HttpResponse>
Method that represents the HTTP's GET method to download a file.
get<T>(String endpoint, {bool authenticate = false, Map<String, String>? headers, Map<String, dynamic>? queryParameters, String? replaceBaseUrl, String? segment, bool? showLogs, String? step}) Future<HttpResponse<T>>
Method that represents the HTTP's GET method.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch<T>(String endpoint, {bool authenticate = false, Object? body, Map<String, String>? headers, Map<String, dynamic>? queryParameters, String? replaceBaseUrl, String? segment, bool? showLogs, String? step}) Future<HttpResponse<T>>
Method that represents the HTTP's PATCH method.
post<T>(String endpoint, {bool authenticate = false, Object? body, Map<String, String>? headers, Map<String, dynamic>? queryParameters, String? replaceBaseUrl, String? segment, bool? showLogs, String? step}) Future<HttpResponse<T>>
Method that represents the HTTP's POST method.
put<T>(String endpoint, {bool authenticate = false, Object? body, Map<String, String>? headers, Map<String, dynamic>? queryParameters, String? replaceBaseUrl, String? segment, bool? showLogs, String? step}) Future<HttpResponse<T>>
Method that represents the HTTP's PUT method.
toString() String
A string representation of this object.
inherited

Operators

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