Overriding your HTTP client - AWS SDK for C++

Overriding your HTTP client

The default HTTP client for Windows is WinHTTP. The default HTTP client for all other platforms is curl.

Optionally, you can override the HTTP client default by creating a custom HttpClientFactory to pass to any service client’s constructor. To override the HTTP client, the SDK must be built with curl support. Curl support is built by default in Linux and macOS, but additional steps are required to build on Windows. For more information about building the SDK on Windows with curl support, see Building the AWS SDK for C++ on Windows.