AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Aws::HttpOptions Struct Reference

#include <Aws.h>

Public Member Functions

 

Public Attributes

std::function< std::shared_ptr< Aws::Http::HttpClientFactory >()> httpClientFactory_create_fn
 
 
 
 
 

Detailed Description

SDK wide options for http

Definition at line 82 of file Aws.h.

Constructor & Destructor Documentation

◆ HttpOptions()

Aws::HttpOptions::HttpOptions ( )
inline

Definition at line 84 of file Aws.h.

Member Data Documentation

◆ compliantRfc3986Encoding

bool Aws::HttpOptions::compliantRfc3986Encoding

Disable legacy URL encoding that leaves $&,:@= unescaped for legacy purposes.

Definition at line 107 of file Aws.h.

◆ httpClientFactory_create_fn

std::function<std::shared_ptr<Aws::Http::HttpClientFactory>()> Aws::HttpOptions::httpClientFactory_create_fn

Defaults to empty, if this is set, then the result of your closure will be installed and used instead of the system defaults

Definition at line 90 of file Aws.h.

◆ initAndCleanupCurl

bool Aws::HttpOptions::initAndCleanupCurl

libCurl infects everything with its global state. If it is being used then we automatically initialize and clean it up. If this is a problem for you, set this to false. If you manually initialize libcurl please add the option CURL_GLOBAL_ALL to your init call.

Definition at line 95 of file Aws.h.

◆ installSigPipeHandler

bool Aws::HttpOptions::installSigPipeHandler

Installs a global SIGPIPE handler that logs the error and prevents it from terminating the current process. This can be used on operating systems on which CURL is being used. In some situations CURL cannot avoid triggering a SIGPIPE. For more information see: https://curl.haxx.se/libcurl/c/CURLOPT_NOSIGNAL.html NOTE: CURLOPT_NOSIGNAL is already being set.

Definition at line 103 of file Aws.h.

◆ preservePathSeparators

bool Aws::HttpOptions::preservePathSeparators = false

When constructing Path segments in a URI preserve path separators instead of collapsing slashes. This is useful for aligning with other SDKs and tools on key path for S3 objects as currently the C++ SDK sanitizes the path.

TODO: In the next major release, this will become the default to align better with other SDKs.

Definition at line 115 of file Aws.h.


The documentation for this struct was generated from the following file: