AlexaClientSDK  1.25.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::HTTP2SendDataResult Struct Reference

#include <HTTP2SendDataResult.h>

Collaboration diagram for alexaClientSDK::avsCommon::utils::http2::HTTP2SendDataResult:
Collaboration graph

Public Member Functions

 HTTP2SendDataResult (size_t size)

Public Attributes

HTTP2SendStatus status
 The status of the send data operation. More...
size_t size
 The number of bytes copied. This value should only be non-zero if status == CONTINUE. More...

Static Public Attributes

static const avscommon_EXPORT HTTP2SendDataResult PAUSE {HTTP2SendStatus::PAUSE, 0}
 Const PAUSE result. More...
static const avscommon_EXPORT HTTP2SendDataResult COMPLETE {HTTP2SendStatus::COMPLETE, 0}
 Const COMPLETE result. More...
static const avscommon_EXPORT HTTP2SendDataResult ABORT {HTTP2SendStatus::ABORT, 0}
 Const ABORT result. More...

Detailed Description

Value returned from various methods that send data, combining a status and a size.

Constructor & Destructor Documentation

◆ HTTP2SendDataResult()

alexaClientSDK::avsCommon::utils::http2::HTTP2SendDataResult::HTTP2SendDataResult ( size_t  size)

Construct a HTTP2SendDataResult with a status of CONTINUE and the specified size

sizeThe count of bytes sent.

Member Data Documentation


const HTTP2SendDataResult alexaClientSDK::avsCommon::utils::http2::HTTP2SendDataResult::ABORT {HTTP2SendStatus::ABORT, 0}

Const ABORT result.


const HTTP2SendDataResult alexaClientSDK::avsCommon::utils::http2::HTTP2SendDataResult::COMPLETE {HTTP2SendStatus::COMPLETE, 0}

Const COMPLETE result.


const HTTP2SendDataResult alexaClientSDK::avsCommon::utils::http2::HTTP2SendDataResult::PAUSE {HTTP2SendStatus::PAUSE, 0}

Const PAUSE result.

◆ size

size_t alexaClientSDK::avsCommon::utils::http2::HTTP2SendDataResult::size

The number of bytes copied. This value should only be non-zero if status == CONTINUE.

◆ status

HTTP2SendStatus alexaClientSDK::avsCommon::utils::http2::HTTP2SendDataResult::status

The status of the send data operation.

See also

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

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