llvm::HTTPRequest

A stateless description of an outbound HTTP request.

Synopsis

Declared in <llvm/HTTP/HTTPClient.h>

struct HTTPRequest;

Member Functions

NameDescription
HTTPRequest [constructor]Construct a request for the given URL with default options.

Data Members

NameDescription
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.

Non-Member Functions

NameDescription
operator==Return true if two HTTP requests describe the same outbound request.