Enum solicit::http::HttpScheme
[−]
[src]
pub enum HttpScheme { Http, Https, }
An enum representing the two possible HTTP schemes.
Variants
Http | The variant corresponding to |
Https | The variant corresponding to |
Methods
impl HttpScheme
fn as_bytes(&self) -> &'static [u8]
Returns a byte string representing the scheme.