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

#include <LibcurlHTTP2ConnectionFactory.h>

Inheritance diagram for alexaClientSDK::avsCommon::utils::libcurlUtils::LibcurlHTTP2ConnectionFactory:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::avsCommon::utils::libcurlUtils::LibcurlHTTP2ConnectionFactory:
Collaboration graph
[legend]

Static Public Member Functions

static std::shared_ptr< avsCommon::utils::http2::HTTP2ConnectionFactoryInterfacecreateHTTP2ConnectionFactoryInterface (const std::shared_ptr< LibcurlSetCurlOptionsCallbackFactoryInterface > &curlOptionsCallbackFactory=nullptr)
 

HTTP2ConnectionFactoryInterface methods.

std::shared_ptr< avsCommon::utils::http2::HTTP2ConnectionInterfacecreateHTTP2Connection () override
 
 LibcurlHTTP2ConnectionFactory (const std::shared_ptr< LibcurlSetCurlOptionsCallbackFactoryInterface > &curlOptionsCallbackFactory=nullptr)
 *} More...
 

Additional Inherited Members

- Public Member Functions inherited from alexaClientSDK::avsCommon::utils::http2::HTTP2ConnectionFactoryInterface
virtual ~HTTP2ConnectionFactoryInterface ()=default
 

Detailed Description

A class that produces LibcurlHTTP2Connection instances.

Constructor & Destructor Documentation

◆ LibcurlHTTP2ConnectionFactory()

alexaClientSDK::avsCommon::utils::libcurlUtils::LibcurlHTTP2ConnectionFactory::LibcurlHTTP2ConnectionFactory ( const std::shared_ptr< LibcurlSetCurlOptionsCallbackFactoryInterface > &  curlOptionsCallbackFactory = nullptr)

*}

Constructor.

Parameters
curlOptionsCallbackFactoryThe optional factory for instances LibcurlSetCurlOptionsCallbackFactoryInterface.

Member Function Documentation

◆ createHTTP2Connection()

std::shared_ptr< avsCommon::utils::http2::HTTP2ConnectionInterface > alexaClientSDK::avsCommon::utils::libcurlUtils::LibcurlHTTP2ConnectionFactory::createHTTP2Connection ( )
overridevirtual

Create an instance of HTTP2ConnectionInterface.

Returns
An instance of HTTP2ConnectionInterface or nullptr if the operation failed.

Implements alexaClientSDK::avsCommon::utils::http2::HTTP2ConnectionFactoryInterface.

◆ createHTTP2ConnectionFactoryInterface()

std::shared_ptr< avsCommon::utils::http2::HTTP2ConnectionFactoryInterface > alexaClientSDK::avsCommon::utils::libcurlUtils::LibcurlHTTP2ConnectionFactory::createHTTP2ConnectionFactoryInterface ( const std::shared_ptr< LibcurlSetCurlOptionsCallbackFactoryInterface > &  curlOptionsCallbackFactory = nullptr)
static

Create a new instance of LibcurlHTTP2ConnectionFactory.

Parameters
curlOptionsCallbackFactoryThe optional factory for instances LibcurlSetCurlOptionsCallbackFactoryInterface.
Returns
A new instance of LibcurlHTTP2ConnectionFactory.

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

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