A stateless description of an outbound HTTP request.
Declared in <llvm/HTTP/HTTPClient.h>
struct HTTPRequest;
| Name | Description |
|---|---|
HTTPRequest [constructor] | Construct a request for the given URL with default options. |
| Name | Description |
|---|---|
FollowRedirects | Follow redirects without security downgrades. |
Headers | Additional HTTP headers to include with the request. |
Method | HTTP method used for the request. |
PinnedCertFingerprint | Allow self-signed TLS certificates with this SHA-256 (WinHTTP only). |
Url | Target URL of the request. |
| Name | Description |
|---|---|
operator== | Return true if two HTTP requests describe the same outbound request. |