Struct hyperdav::Client[][src]

pub struct Client { /* fields omitted */ }

The WebDAV client. Make a Client for each server.

Methods

impl Client
[src]

Constructs a new ClientBuilder.

Get a file from the WebDAV server.

Errors

This method fails if the passed path doesn't exist on the WebDAV server.

Put a file on the WebDAV server, make sure the URL is pointing to the location where you want the file to be.

Errors

This method fails if the passed path doesn't exist on the WebDAV server.

Creates a directory on the WebDAV server.

Errors

This methods fails if the path where you want to create the directory doesn't exist.

Rename or move a directory or file on the WebDAV server.

Errors

This method fails if from doesn't exist, also fails if the to path is invalid.

List files in a directory on the WebDAV server.

Errors

This method fails if the passed path doesn't exist on the WebDAV server.

Prepare a RequestBuilder for use in a request to the WebDAV server. This can be used in case you need to customize something or want to do something which is still unsupported.

Trait Implementations

impl Debug for Client
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Client

impl Sync for Client