Struct zhelezo::Protocol
[−]
[src]
pub struct Protocol(_);
Protocol used to serve content.
Methods
impl Protocol
[src]
fn http() -> Protocol
[src]
Plaintext HTTP/1
fn https() -> Protocol
[src]
HTTP/1 over SSL/TLS
fn name(&self) -> &str
[src]
Returns the name used for this protocol in a URI's scheme part.