AWS SDK for C++  0.14.3
AWS SDK for C++
Public Member Functions | Public Attributes | List of all members
Aws::HttpOptions Struct Reference

#include <Aws.h>

Public Member Functions

 HttpOptions ()
 

Public Attributes

std::function< std::shared_ptr< Aws::Http::HttpClientFactory >)> httpClientFactory_create_fn
 
bool initAndCleanupCurl
 

Detailed Description

SDK wide options for http

Definition at line 72 of file Aws.h.

Constructor & Destructor Documentation

Aws::HttpOptions::HttpOptions ( )
inline

Definition at line 74 of file Aws.h.

Member Data Documentation

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 80 of file Aws.h.

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 85 of file Aws.h.


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