dispatch method

WebDavStdRequestDispatcher dispatch(
  1. Uri from, {
  2. ResponseBodyDecoderManager? responseBodyDecoders,
  3. ResponseResultParser<WebDavStdResResultView>? responseResultParser,
})

Creates a WebDavStdRequestDispatcher for handling WebDAV requests.

Provide responseBodyDecoders to customize Http Response's body.

Provide responseResultParser to customize XmlDocument if response's content type is xml.

Example: client.dispatch(someUri).create(...)

Implementation

WebDavStdRequestDispatcher dispatch(
  Uri from, {
  ResponseBodyDecoderManager? responseBodyDecoders,
  ResponseResultParser<WebDavStdResResultView>? responseResultParser,
}) =>
    WebDavStdRequestDispatcher(
        client: this,
        from: from,
        respDecoder: responseBodyDecoders,
        respParser: responseResultParser);