http_constant/protocol/
const.rs

1/// Represents the uppercase "HTTP" protocol string.
2pub const HTTP_UPPERCASE: &str = "HTTP";
3/// Represents the uppercase "HTTPS" protocol string.
4pub const HTTPS_UPPERCASE: &str = "HTTPS";
5/// Represents the lowercase "http" protocol string.
6pub const HTTP_LOWERCASE: &str = "http";
7/// Represents the lowercase "https" protocol string.
8pub const HTTPS_LOWERCASE: &str = "https";
9/// Represents the "websocket" protocol string.
10pub const WEBSOCKET: &str = "websocket";
11/// Represents the "ws" protocol string, commonly used for WebSockets.
12pub const WS: &str = "ws";
13/// Represents the "wss" protocol string, commonly used for secure WebSockets.
14pub const WSS: &str = "wss";
15/// Represents the "ftp" protocol string.
16pub const FTP: &str = "ftp";
17/// Represents the "ftps" protocol string, commonly used for secure FTP.
18pub const FTPS: &str = "ftps";
19/// Represents the "sftp" protocol string, commonly used for SSH File Transfer Protocol.
20pub const SFTP: &str = "sftp";
21/// Represents the "file" protocol string, used for local file access.
22pub const FILE: &str = "file";
23/// Represents the "mailto" protocol string, used for email addresses.
24pub const MAILTO: &str = "mailto";
25/// Represents the "data" protocol string, used for embedding small files inline.
26pub const DATA: &str = "data";
27/// Represents the "tel" protocol string, used for telephone numbers.
28pub const TEL: &str = "tel";
29/// Represents the "sms" protocol string, used for SMS messages.
30pub const SMS: &str = "sms";
31/// Represents the "gopher" protocol string.
32pub const GOPHER: &str = "gopher";
33/// Represents the "ldap" protocol string, used for Lightweight Directory Access Protocol.
34pub const LDAP: &str = "ldap";
35/// Represents the "ldaps" protocol string, used for secure LDAP.
36pub const LDAPS: &str = "ldaps";
37/// Represents an unknown or unspecified HTTP version string.
38pub const UNKNOWN_HTTP_VERSION: &str = "";