AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Namespaces | Classes | Functions
alexaClientSDK::avsCommon::utils::libcurlUtils Namespace Reference

Namespaces

 test
 

Classes

class  CallbackData
 
class  CurlEasyHandleWrapper
 
class  CurlEasyHandleWrapperOptionsSettingAdapter
 
class  CurlMultiHandleWrapper
 
class  DefaultSetCurlOptionsCallbackFactory
 
class  HTTPContentFetcherFactory
 
class  HttpGetInterface
 Minimal interface for making HTTP GET requests. More...
 
class  HttpPost
 LIBCURL based implementation of HttpPostInterface. More...
 
class  HttpPostInterface
 Minimal interface for making Http POST requests. More...
 
class  HttpPut
 LIBCURL based implementation of HttpPutInterface. More...
 
class  HttpPutInterface
 Minimal interface for making HTTP PUT requests. More...
 
struct  HTTPResponse
 
class  LibcurlHTTP2Connection
 
class  LibCurlHTTP2Connection_Test
 
class  LibcurlHTTP2ConnectionFactory
 
class  LibCurlHTTP2ConnectionTest
 
class  LibcurlHTTP2Request
 
class  LibCurlHttpContentFetcher
 
class  LibcurlSetCurlOptionsCallbackFactoryInterface
 
class  LibcurlSetCurlOptionsCallbackInterface
 

Functions

bool prepareForTLS (CURL *handle)
 
bool prepareForProxy (CURL *handle)
 
 TEST_F (LibCurlHTTP2ConnectionTest, releaseStream_delete_ok)
 

Function Documentation

◆ prepareForProxy()

bool alexaClientSDK::avsCommon::utils::libcurlUtils::prepareForProxy ( CURL *  handle)

Prepare a CURL handle to set the proxy to use for the upcoming request.

The 'libCurlUtils' sub-component of the global configuration supports the following options:

  • CURLOPT_PROXY If present, specifies a value for the libcurl property CURLOPT_PROXY.

Here is an example configuration:

{
"libcurlUtils" : {
"CURLOPT_PROXY" : "http://proxy:1080"
}
// Other configuration nodes
}
Parameters
handleThe libcurl handle to prepare.
Returns
Whether the operation was successful.

◆ prepareForTLS()

bool alexaClientSDK::avsCommon::utils::libcurlUtils::prepareForTLS ( CURL *  handle)

Prepare a CURL handle to require TLS based upon global configuration settings.

The 'libCurlUtils' sub-component of the global configuration supports the following options:

  • CURLOPT_CAPATH If present, specifies a value for the libcurl property CURLOPT_CAPATH.

Here is an example configuration:

{
"libcurlUtils" : {
"CURLOPT_CAPATH" : "/path/to/directory/with/ca/certificates"
}
// Other configuration nodes
}
Parameters
handleThe libcurl handle to prepare.
Returns
Whether the operation was successful.

◆ TEST_F()

alexaClientSDK::avsCommon::utils::libcurlUtils::TEST_F ( LibCurlHTTP2ConnectionTest  ,
releaseStream_delete_ok   
)

AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0