Enum iron::Protocol
[−]
[src]
pub enum Protocol { Http, Https { certificate: PathBuf, key: PathBuf, }, }
Protocol used to serve content. Future versions of Iron may add new protocols to this enum. Thus you should not exhaustively match on its variants.
Variants
Http | Plaintext HTTP/1 | ||||
Https | HTTP/1 over SSL/TLS Fields
|