1pub mod client;
2pub mod error;
3pub mod method;
4pub mod reader;
5pub mod res;
6pub mod url;
7pub use client::WebDAVClient;
8pub use method::Method;
9pub use reqwest::header;
10pub use reqwest::{Body, IntoUrl, Request, RequestBuilder, Response, StatusCode, Url};
11
12pub use quick_xml::DeError;
13
14#[derive(Debug, Clone, Copy, PartialEq)]
15pub struct Range {
16 pub start: usize,
17 pub end: usize,
18}
19impl Range {
20 pub fn new(start: usize, end: usize) -> Range {
21 Self { start, end }
22 }
23}