http_constant/protocol/
const.rs

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