http_type/cookie/
type.rs

1use crate::*;
2
3/// Represents the raw cookie string from an HTTP request header.
4///
5/// Contains the complete cookie header value as received from the client.
6pub type CookieString = String;
7
8/// Represents the key/name of an HTTP cookie.
9///
10/// Used to identify individual cookies in requests and responses.
11pub type CookieKey = String;
12
13/// Represents the value/content of an HTTP cookie.
14///
15/// Stores the actual data associated with a cookie name/key.
16pub type CookieValue = String;
17
18/// Represents a collection of HTTP cookies.
19///
20/// Stores multiple cookies as key-value pairs using a high-performance hash map.
21pub type Cookies = HashMapXxHash3_64<CookieKey, CookieValue>;