◆ ~NetworkRequest()
◆ EnforcePinnedPublicKey()
virtual void EnforcePinnedPublicKey |
( |
const String & | public_key | ) |
|
|
pure virtual |
Enforce additional TLS/SSL certificate validation by verifying the server's pinned public key.
The public key string can be any number of base64 encoded sha256 hashes preceded by "sha256//" and separated by ";".
For more info see the cURL docs: https://curl.se/libcurl/c/CURLOPT_PINNEDPUBLICKEY.html
◆ httpMethod()
virtual String httpMethod |
( |
| ) |
const |
|
pure virtual |
The HTTP method (eg, "POST" or "GET")
◆ httpOrigin()
virtual String httpOrigin |
( |
| ) |
const |
|
pure virtual |
The origin of the request.
◆ httpUserAgent()
virtual String httpUserAgent |
( |
| ) |
const |
|
pure virtual |
The user-agent of the request.
◆ url()
◆ urlHost()
virtual String urlHost |
( |
| ) |
const |
|
pure virtual |
The host portion of the URL.
◆ urlProtocol()
virtual String urlProtocol |
( |
| ) |
const |
|
pure virtual |
The protocol of the URL (eg, "http")
The documentation for this class was generated from the following file: