$Client class

Constructors

$Client.new(Uri baseURL, {Map<String, String>? baseHeaders, Client? httpClient, CookieJar? cookieJar, List<DynamiteAuthentication>? authentications})
Creates a new DynamiteClient for untagged requests.
$Client.fromClient(DynamiteClient client)
Creates a new $Client from another client.

Properties

api $ApiClient
latefinal
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
directEditing $DirectEditingClient
latefinal
hashCode int
The hash code for this object.
no setterinherited
httpClient → Client
The base http client.
finalinherited
openLocalEditor $OpenLocalEditorClient
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
template $TemplateClient
latefinal
transferOwnership $TransferOwnershipClient
latefinal

Methods

executeRawRequest(String method, Uri uri, {Map<String, String>? headers, Uint8List? body, Set<int>? validStatuses}) Future<StreamedResponse>
Executes a HTTP request against give full uri.
inherited
executeRequest(String method, String path, {Map<String, String>? headers, Uint8List? body, Set<int>? validStatuses}) Future<StreamedResponse>
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