NextcloudClient class

Available Extensions

Constructors

NextcloudClient(Uri baseURL, {String? loginName, String? password, String? appPassword, String? language, AppType appType = AppType.unknown, String? userAgentOverride, HttpClient? httpClient, CookieJar? cookieJar})

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
hashCode int
The hash code for this object.
no setterinherited
httpClient HttpClient
The base http client.
finalinherited
loginName String?
Identifier used for authentication. This can be the username or email or something else.
final
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