|
libfetch 0.0.0
A lightweight asynchronous HTTP/1.1 client library implementing a subset of the WHATWG Fetch API.
|
Shortcuts for common cookie operations. More...
Macros | |
| #define | COOKIE_IS_VALID_FOR_HTTP(cookie) |
| Check if cookie is valid for HTTP requests. | |
| #define | COOKIE_IS_VALID_FOR_HTTPS(cookie) |
| Check if cookie is valid for HTTPS requests. | |
Shortcuts for common cookie operations.
| #define COOKIE_IS_VALID_FOR_HTTP | ( | cookie | ) |
Check if cookie is valid for HTTP requests.
| cookie | Cookie to check |
| #define COOKIE_IS_VALID_FOR_HTTPS | ( | cookie | ) |
Check if cookie is valid for HTTPS requests.
| cookie | Cookie to check |
Note: Secure cookies can only be sent over HTTPS, but non-secure cookies can be sent over both HTTP and HTTPS.