http_type/protocol/type.rs
1/// Defines the `Protocol` enum, representing HTTP-related protocols.
2///
3/// The `Protocol` enum includes:
4/// - `HTTP`: Represents the HTTP protocol.
5/// - `HTTPS`: Represents the HTTPS protocol.
6#[derive(Debug, Clone, PartialEq, Eq)]
7pub enum Protocol {
8 /// Represents the HTTP protocol.
9 HTTP,
10 /// Represents the HTTPS protocol.
11 HTTPS,
12 /// Unknown
13 Unknown(String),
14}