---
editLink: false
lastUpdated: false
---

[@salesforce/b2c-tooling-sdk](../../modules.md) / [clients](../index.md) / WebDavClientOptions

# Interface: WebDavClientOptions

Defined in: [packages/b2c-tooling-sdk/src/clients/webdav.ts:68](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/b099fb909260c5c00c90ca9da612a7f50c1328d4/packages/b2c-tooling-sdk/src/clients/webdav.ts#L68)

Options for creating a WebDAV client.

## Properties

### authFailureHint()?

> `optional` **authFailureHint**: (`path`, `status`) => `Promise`\<`string` \| `undefined`\>

Defined in: [packages/b2c-tooling-sdk/src/clients/webdav.ts:83](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/b099fb909260c5c00c90ca9da612a7f50c1328d4/packages/b2c-tooling-sdk/src/clients/webdav.ts#L83)

Returns text appended to the error of a request refused with 401 or 403,
e.g. the permission the authenticated user lacks for the path.

#### Parameters

##### path

`string`

##### status

`401` | `403`

#### Returns

`Promise`\<`string` \| `undefined`\>

***

### dispatcher?

> `optional` **dispatcher**: `Dispatcher`

Defined in: [packages/b2c-tooling-sdk/src/clients/webdav.ts:78](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/b099fb909260c5c00c90ca9da612a7f50c1328d4/packages/b2c-tooling-sdk/src/clients/webdav.ts#L78)

undici dispatcher for custom TLS options (mTLS, self-signed certs).
Use createTlsDispatcher() to create one with client certificates.

***

### middlewareRegistry?

> `optional` **middlewareRegistry**: [`MiddlewareRegistry`](../classes/MiddlewareRegistry.md)

Defined in: [packages/b2c-tooling-sdk/src/clients/webdav.ts:73](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/b099fb909260c5c00c90ca9da612a7f50c1328d4/packages/b2c-tooling-sdk/src/clients/webdav.ts#L73)

Middleware registry to use for this client.
If not specified, uses the global middleware registry.
