$Client class

Constructors

$Client.new(Uri baseURL, {Map<String, String>? baseHeaders, String? userAgent, HttpClient? httpClient, CookieJar? cookieJar, List<DynamiteAuthentication> authentications = const []})
$Client.fromClient(DynamiteClient client)

Properties

authentications List<DynamiteAuthentication>
The available authentications for this client.
finalinherited
baseHeaders Map<String, String>?
The base headers added to each request.
finalinherited
baseURL Uri
The base server url used to build the request uri.
finalinherited
cookieJar CookieJar?
The optional cookie jar to persist the response cookies.
finalinherited
dashboardApi $DashboardApiClient
no setter
hashCode int
The hash code for this object.
no setterinherited
httpClient HttpClient
The base http client.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

executeRawRequest(String method, Uri uri, Map<String, String> headers, Uint8List? body, Set<int>? validStatuses) Future<HttpClientResponse>
Executes a HTTP request against give full uri.
inherited
executeRequest(String method, String path, Map<String, String> headers, Uint8List? body, Set<int>? validStatuses) Future<HttpClientResponse>
Makes a request against a given path.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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