Trait tungstenite::client::IntoClientRequest[][src]

pub trait IntoClientRequest {
    fn into_client_request(self) -> Result<Request>;
}
Expand description

Trait for converting various types into HTTP requests used for a client connection.

This trait is implemented by default for string slices, strings, url::Url, http::Uri and http::Request<()>.

Required methods

Convert into a Request that can be used for a client connection.

Implementations on Foreign Types

Implementors