$Client class
- Available extensions
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
- appPassword → $AppPasswordClient
-
latefinal
-
authentications
→ List<
DynamiteAuthentication> ? -
The available authentications for this client.
finalinherited
- autoComplete → $AutoCompleteClient
-
latefinal
- avatar → $AvatarClient
-
Class AvatarController.
latefinal
-
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
- clientFlowLoginV2 → $ClientFlowLoginV2Client
-
latefinal
- collaborationResources → $CollaborationResourcesClient
-
latefinal
-
The optional cookie jar to persist the response cookies.
finalinherited
- guestAvatar → $GuestAvatarClient
-
This controller handles guest avatar requests.
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
- hoverCard → $HoverCardClient
-
latefinal
- httpClient → Client
-
The base http client.
finalinherited
-
latefinal
- ocm → $OcmClient
-
Controller about the endpoint /ocm-provider/.
latefinal
- ocs → $OcsClient
-
latefinal
- preview → $PreviewClient
-
latefinal
- profileApi → $ProfileApiClient
-
latefinal
- reference → $ReferenceClient
-
latefinal
- referenceApi → $ReferenceApiClient
-
latefinal
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textProcessingApi → $TextProcessingApiClient
-
latefinal
- textToImageApi → $TextToImageApiClient
-
latefinal
- translationApi → $TranslationApiClient
-
latefinal
- unifiedSearch → $UnifiedSearchClient
-
latefinal
- whatsNew → $WhatsNewClient
-
latefinal
- wipe → $WipeClient
-
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 -
getStatus(
) → Future< DynamiteResponse< Status, void> > -
Returns a Future containing a
DynamiteResponse
with the status code, deserialized body and headers. Throws aDynamiteApiException
if the API call does not return an expected status code. -
getStatusRaw(
) → DynamiteRawResponse< Status, void> - This method and the response it returns is experimental. The API might change without a major version bump.
-
getVersionCheck(
OcsGetCapabilitiesResponseApplicationJson_Ocs_Data capabilities) → VersionCheck -
Available on $Client, provided by the CoreVersionCheck extension
Check if the core/Server version is supported by this client -
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