Skip to main content

http_constant/protocol/
const.rs

1/// Represents the lowercase "http" protocol string.
2pub const HTTP_LOWERCASE: &str = "http";
3
4/// Represents the uppercase "HTTP" protocol string.
5pub const HTTP_UPPERCASE: &str = "HTTP";
6
7/// Represents the lowercase "https" protocol string.
8pub const HTTPS_LOWERCASE: &str = "https";
9
10/// Represents the uppercase "HTTPS" protocol string.
11pub const HTTPS_UPPERCASE: &str = "HTTPS";
12
13/// Represents the lowercase "ftp" protocol string.
14pub const FTP_LOWERCASE: &str = "ftp";
15
16/// Represents the uppercase "FTP" protocol string.
17pub const FTP_UPPERCASE: &str = "FTP";
18
19/// Represents the lowercase "ftps" protocol string.
20pub const FTPS_LOWERCASE: &str = "ftps";
21
22/// Represents the uppercase "FTPS" protocol string, commonly used for secure FTP.
23pub const FTPS_UPPERCASE: &str = "FTPS";
24
25/// Represents the lowercase "sftp" protocol string.
26pub const SFTP_LOWERCASE: &str = "sftp";
27
28/// Represents the uppercase "SFTP" protocol string, commonly used for SSH File Transfer Protocol.
29pub const SFTP_UPPERCASE: &str = "SFTP";
30
31/// Represents the lowercase "ssh" protocol string.
32pub const SSH_LOWERCASE: &str = "ssh";
33
34/// Represents the lowercase "telnet" protocol string.
35pub const TELNET_LOWERCASE: &str = "telnet";
36
37/// Represents the lowercase "smtp" protocol string.
38pub const SMTP_LOWERCASE: &str = "smtp";
39
40/// Represents the lowercase "smtps" protocol string.
41pub const SMTPS_LOWERCASE: &str = "smtps";
42
43/// Represents the lowercase "pop3" protocol string.
44pub const POP3_LOWERCASE: &str = "pop3";
45
46/// Represents the lowercase "pop3s" protocol string.
47pub const POP3S_LOWERCASE: &str = "pop3s";
48
49/// Represents the lowercase "imap" protocol string.
50pub const IMAP_LOWERCASE: &str = "imap";
51
52/// Represents the lowercase "imaps" protocol string.
53pub const IMAPS_LOWERCASE: &str = "imaps";
54
55/// Represents the lowercase "dns" protocol string.
56pub const DNS_LOWERCASE: &str = "dns";
57
58/// Represents the lowercase "ws" (WebSocket) protocol string.
59pub const WS_LOWERCASE: &str = "ws";
60
61/// Represents the uppercase "WS" protocol string, commonly used for WebSockets.
62pub const WS_UPPERCASE: &str = "WS";
63
64/// Constant for WebSocket Secure protocol lowercase string.
65pub const WSS_LOWERCASE: &str = "wss";
66
67/// Represents the uppercase "WSS" protocol string, commonly used for secure WebSockets.
68pub const WSS_UPPERCASE: &str = "WSS";
69
70/// Represents the lowercase "file" protocol string, used for local file access.
71pub const FILE_LOWERCASE: &str = "file";
72
73/// Represents the uppercase "FILE" protocol string, used for local file access.
74pub const FILE_UPPERCASE: &str = "FILE";
75
76/// Represents the lowercase "mailto" protocol string, used for email addresses.
77pub const MAILTO_LOWERCASE: &str = "mailto";
78
79/// Represents the uppercase "MAILTO" protocol string, used for email addresses.
80pub const MAILTO_UPPERCASE: &str = "MAILTO";
81
82/// Represents the lowercase "data" protocol string, used for embedding small files inline.
83pub const DATA_LOWERCASE: &str = "data";
84
85/// Represents the uppercase "DATA" protocol string, used for embedding small files inline.
86pub const DATA_UPPERCASE: &str = "DATA";
87
88/// Represents the lowercase "tel" protocol string, used for telephone numbers.
89pub const TEL_LOWERCASE: &str = "tel";
90
91/// Represents the uppercase "TEL" protocol string, used for telephone numbers.
92pub const TEL_UPPERCASE: &str = "TEL";
93
94/// Represents the lowercase "sms" protocol string, used for SMS messages.
95pub const SMS_LOWERCASE: &str = "sms";
96
97/// Represents the uppercase "SMS" protocol string, used for SMS messages.
98pub const SMS_UPPERCASE: &str = "SMS";
99
100/// Represents the lowercase "gopher" protocol string.
101pub const GOPHER_LOWERCASE: &str = "gopher";
102
103/// Represents the uppercase "GOPHER" protocol string.
104pub const GOPHER_UPPERCASE: &str = "GOPHER";
105
106/// Represents the lowercase "ldap" protocol string, used for Lightweight Directory Access Protocol.
107pub const LDAP_LOWERCASE: &str = "ldap";
108
109/// Represents the uppercase "LDAP" protocol string, used for Lightweight Directory Access Protocol.
110pub const LDAP_UPPERCASE: &str = "LDAP";
111
112/// Represents the lowercase "ldaps" protocol string, used for secure LDAP.
113pub const LDAPS_LOWERCASE: &str = "ldaps";
114
115/// Represents the uppercase "LDAPS" protocol string, used for secure LDAP.
116pub const LDAPS_UPPERCASE: &str = "LDAPS";
117
118/// Represents the empty protocol string.
119pub const EMPTY_PROTOCOL: &str = "";