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