AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | List of all members
alexaClientSDK::avsCommon::utils::libcurlUtils::LibcurlSetCurlOptionsCallbackInterface Class Referenceabstract

#include <LibcurlSetCurlOptionsCallbackInterface.h>

Public Member Functions

virtual ~LibcurlSetCurlOptionsCallbackInterface ()=default
 
virtual bool processCallback (CurlEasyHandleWrapperOptionsSettingAdapter &optionsSetter)=0
 

Detailed Description

This class allows to pass a user defined callback function for setting curl options when a new connection is created. The callback will be implemented in the applciation layer.

See also
https://curl.haxx.se/libcurl/c/curl_easy_setopt.html

Constructor & Destructor Documentation

◆ ~LibcurlSetCurlOptionsCallbackInterface()

virtual alexaClientSDK::avsCommon::utils::libcurlUtils::LibcurlSetCurlOptionsCallbackInterface::~LibcurlSetCurlOptionsCallbackInterface ( )
virtualdefault

Destructor.

Member Function Documentation

◆ processCallback()

virtual bool alexaClientSDK::avsCommon::utils::libcurlUtils::LibcurlSetCurlOptionsCallbackInterface::processCallback ( CurlEasyHandleWrapperOptionsSettingAdapter optionsSetter)
pure virtual
Parameters
CurlEasyHandleWrapperOptionsSettingAdapterthat allows setting curl options on a curl handle.
Returns
true if the callback processing is successful, else false.

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

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