http_constant/protocol/const.rs
1/// A constant representing the "HTTP" protocol.
2pub const HTTP_UPPERCASE: &str = "HTTP";
3
4/// A constant representing the "HTTPS" protocol.
5pub const HTTPS_UPPERCASE: &str = "HTTPS";
6
7/// A constant representing the "http" protocol.
8pub const HTTP_LOWERCASE: &str = "http";
9
10/// A constant representing the "https" protocol.
11pub const HTTPS_LOWERCASE: &str = "https";
12
13/// Websocket
14pub const WEBSOCKET: &str = "websocket";
15
16/// A constant representing the "ws" protocol.
17pub const WS: &str = "ws";
18
19/// A constant representing the "wss" protocol.
20pub const WSS: &str = "wss";
21
22/// A constant representing the "ftp" protocol.
23pub const FTP: &str = "ftp";
24
25/// A constant representing the "ftps" protocol.
26pub const FTPS: &str = "ftps";
27
28/// A constant representing the "sftp" protocol.
29pub const SFTP: &str = "sftp";
30
31/// A constant representing the "file" protocol.
32pub const FILE: &str = "file";
33
34/// A constant representing the "mailto" protocol.
35pub const MAILTO: &str = "mailto";
36
37/// A constant representing the "data" protocol.
38pub const DATA: &str = "data";
39
40/// A constant representing the "tel" protocol.
41pub const TEL: &str = "tel";
42
43/// A constant representing the "sms" protocol.
44pub const SMS: &str = "sms";
45
46/// A constant representing the "gopher" protocol.
47pub const GOPHER: &str = "gopher";
48
49/// A constant representing the "ldap" protocol.
50pub const LDAP: &str = "ldap";
51
52/// A constant representing the "ldaps" protocol.
53pub const LDAPS: &str = "ldaps";
54
55/// Unknown HTTP version
56pub const UNKNOWN_HTTP_VERSION: &str = "";