asknothingx2-util 0.5.0

asknothing
Documentation
pub mod mime_type;
pub mod preset;

mod auth_scheme;
mod error;
mod header_mut;

pub use auth_scheme::{AuthScheme, DigestBuilder, SCRAMVariant};
pub use error::{Error, Kind};
pub use header_mut::HeaderMut;

// Re-export
pub use http::{HeaderMap, HeaderName, HeaderValue, Method, StatusCode, header};

#[cfg(feature = "reqwest")]
pub use reqwest;

pub trait IntoRequestBuilder {
    type Error;
    fn into_request_builder(
        self,
        client: &reqwest::Client,
    ) -> Result<reqwest::RequestBuilder, Self::Error>;
}