RelayProxyNetworkingClient class

Inheritance

Constructors

RelayProxyNetworkingClient({required NetworkingClient client, required Uri uri, Duration duration = kDefaultTimeoutDuration, List<Interceptor> interceptors = kDefaultInterceptors, bool bypassBodyDelete = false, bool bypassExposeHeaders = false})

Properties

baseUrl Uri
finalinherited
client NetworkingClient
finalinherited
hashCode int
The hash code for this object.
no setterinherited
httpClient → Client
finalinherited
interceptors List<Interceptor>
finalinherited
proxyConfiguration ProxyConfiguration
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeoutDuration Duration
finalinherited

Methods

delete({required String endpoint, Map<String, String>? headers, Map<String, String>? queryParameters}) Future<Either<RequestError, Response>>
inherited
get({required String endpoint, Map<String, String>? headers, Map<String, String>? queryParameters}) Future<Either<RequestError, Response>>
inherited
multipart({required String endpoint, Map<String, String>? form, Map<String, Uint8List>? files, Map<String, String>? headers, Map<String, String>? queryParameters}) Future<Either<RequestError, Response>>
Crafts and sends a multipart/form-data request.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch({required String endpoint, ContentType contentType = ContentType.json, String? data, Map<String, String>? headers, Map<String, String>? queryParameters}) Future<Either<RequestError, Response>>
inherited
post({required String endpoint, ContentType contentType = ContentType.json, String? data, Map<String, String>? headers, Map<String, String>? queryParameters}) Future<Either<RequestError, Response>>
inherited
put({required String endpoint, ContentType contentType = ContentType.json, String? data, Map<String, String>? headers, Map<String, String>? queryParameters}) Future<Either<RequestError, Response>>
inherited
send({required Request request}) Future<Either<RequestError, Response>>
inherited
toString() String
A string representation of this object.
inherited

Operators

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