Skip to main content
Version: 2.1.2

DAVRequest

export type DAVRequest = {
headers?: Record<string, string>;
method: DAVMethods | HTTPMethods;
body: any;
namespace?: string;
attributes?: Record<string, string>;
};

davRequest init body

  • headers request headers
  • headersToExclude array of keys of the headers you want to exclude
  • fetchOptions options to pass to underlying fetch function
  • method request method
  • body request body
  • namespace default namespace for all xml nodes
  • attributes root node xml attributes