Expand description
Request/response pattern for WebDAV operations.
Idiomatic API to the method-based approach, using a request/response pattern.
§Example
use libdav::dav::GetEtag;
let response = caldav.request(
GetEtag::new("/calendar/event.ics")
).await?;
println!("Etag: {}", response.etag);Structs§
- Prepared
Request - A prepared HTTP request ready to be sent to a WebDAV server.
Enums§
- Parse
Response Error - Error when parsing a WebDAV responses.
Traits§
- DavRequest
- A WebDAV request that can be prepared and executed.
Functions§
- xml_
content_ type_ header - Returns the HTTP header tuple for XML content with UTF-8 encoding.