AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
alexaClientSDK::avsCommon::utils::http2::HTTP2GetMimeHeadersResult Struct Reference

#include <HTTP2GetMimeHeadersResult.h>

Collaboration diagram for alexaClientSDK::avsCommon::utils::http2::HTTP2GetMimeHeadersResult:
Collaboration graph
[legend]

Public Member Functions

 HTTP2GetMimeHeadersResult (const std::vector< std::string > &headers)
 

Public Attributes

HTTP2SendStatus status
 The status of the getMimeHeadersLines() operation. More...
 
std::vector< std::string > headers
 The headers returned from getMimeHeaderLines. Only non-empty if status == CONTINUE. More...
 

Static Public Attributes

static const avscommon_EXPORT HTTP2GetMimeHeadersResult PAUSE
 Const PAUSE result. More...
 
static const avscommon_EXPORT HTTP2GetMimeHeadersResult COMPLETE
 Const COMPLETE result. More...
 
static const avscommon_EXPORT HTTP2GetMimeHeadersResult ABORT
 Const ABORT result. More...
 

Detailed Description

Value returned from HTTP2MimeRequestSourceInterface::getMimeHeaderLines(), combining a status and a vector of header lines.

Constructor & Destructor Documentation

◆ HTTP2GetMimeHeadersResult()

alexaClientSDK::avsCommon::utils::http2::HTTP2GetMimeHeadersResult::HTTP2GetMimeHeadersResult ( const std::vector< std::string > &  headers)
inline

Construct a HTTP2GetMimeHeadersResult with a status of CONTINUE and the header values to continue with.

Parameters
headersThe headers to send.
Returns
A HTTP2GetMimeHeadersResult with status CONTINUE and the specified header lines.

Member Data Documentation

◆ ABORT

const avscommon_EXPORT HTTP2GetMimeHeadersResult alexaClientSDK::avsCommon::utils::http2::HTTP2GetMimeHeadersResult::ABORT
static

Const ABORT result.

◆ COMPLETE

const avscommon_EXPORT HTTP2GetMimeHeadersResult alexaClientSDK::avsCommon::utils::http2::HTTP2GetMimeHeadersResult::COMPLETE
static

Const COMPLETE result.

◆ headers

std::vector<std::string> alexaClientSDK::avsCommon::utils::http2::HTTP2GetMimeHeadersResult::headers

The headers returned from getMimeHeaderLines. Only non-empty if status == CONTINUE.

◆ PAUSE

const avscommon_EXPORT HTTP2GetMimeHeadersResult alexaClientSDK::avsCommon::utils::http2::HTTP2GetMimeHeadersResult::PAUSE
static

Const PAUSE result.

◆ status

HTTP2SendStatus alexaClientSDK::avsCommon::utils::http2::HTTP2GetMimeHeadersResult::status

The status of the getMimeHeadersLines() operation.

See also
HTTP2SendStatus.

The documentation for this struct 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