Compile-time backend capability report for the active HttpClient backend.
More...
#include <HttpClient.h>
|
| enum | Backend : uint8_t {
Unsupported
,
AppleURLSession
,
LibCurl
,
WinHttp
} |
| |
| enum | Feature : uint8_t {
MultipleOperationsPerClient
,
FixedRequestBody
,
SizedStreamRequestBody
,
ChunkedStreamRequestBody
,
RedirectPolicy
,
ProtocolHttp11Only
,
ProtocolHttp2Preferred
,
ProtocolHttp2Required
,
TlsDisablePeerVerification
,
TlsCustomCaPath
,
ProxyNoProxy
,
ProxyHttp
,
ProxyAuthorization
,
ProxyBypassList
,
ContentCodingPolicy
} |
| |
|
|
bool | hasBackend (Backend requiredBackend) const |
| |
|
bool | supports (Feature feature) const |
| |
|
bool | supportsRequestOptions (const HttpClientRequestOptions &options) const |
| |
|
bool | supportsAll (Span< const Feature > features) const |
| |
|
Result | requireBackend (Backend requiredBackend) const |
| |
|
Result | requireFeatures (Span< const Feature > features) const |
| |
|
Result | requireRequestOptions (const HttpClientRequestOptions &options) const |
| |
|
const char * | getBackendName () const |
| |
|
|
static const char * | getBackendName (Backend backend) |
| |
|
static const char * | getFeatureName (Feature feature) |
| |
|
|
Backend | backend = Unsupported |
| |
|
bool | multipleOperationsPerClient = false |
| |
|
bool | fixedRequestBody = false |
| |
|
bool | sizedStreamRequestBody = false |
| |
|
bool | chunkedStreamRequestBody = false |
| |
|
bool | redirectPolicy = false |
| |
|
bool | protocolHttp11Only = false |
| |
|
bool | protocolHttp2Preferred = false |
| |
|
bool | protocolHttp2Required = false |
| |
|
bool | tlsDisablePeerVerification = false |
| |
|
bool | tlsCustomCaPath = false |
| |
|
bool | proxyNoProxy = false |
| |
|
bool | proxyHttp = false |
| |
|
bool | proxyAuthorization = false |
| |
|
bool | proxyBypassList = false |
| |
|
bool | contentCodingPolicy = false |
| |
Compile-time backend capability report for the active HttpClient backend.
The documentation for this struct was generated from the following file: