httpRequest method
void
httpRequest(])
override
Processes the HTTP request, returning the server's response via the completion callback.
Implementation
@override
void httpRequest(
String method,
String? url, [
String? data,
Map<String, String>? headers,
]) {
// Query CMIS over HTTP
HttpRequest.request(
url!,
method: method,
withCredentials: false,
responseType: null,
requestHeaders: headers,
sendData: data,
)
..then(onSuccess)
..catchError(onError)
..whenComplete(completion);
}