AWS IoT Device SDK C++ v2
1.34.0
AWS IoT Device SDK C++ v2
|
#include <HttpConnection.h>
Public Member Functions | |
virtual | ~HttpStream () |
HttpStream (const HttpStream &)=delete | |
HttpStream (HttpStream &&)=delete | |
HttpStream & | operator= (const HttpStream &)=delete |
HttpStream & | operator= (HttpStream &&)=delete |
HttpClientConnection & | GetConnection () const noexcept |
virtual int | GetResponseStatusCode () const noexcept=0 |
void | UpdateWindow (std::size_t incrementSize) noexcept |
Protected Member Functions | |
HttpStream (const std::shared_ptr< HttpClientConnection > &connection) noexcept | |
Protected Attributes | |
aws_http_stream * | m_stream |
std::shared_ptr< HttpClientConnection > | m_connection |
Friends | |
class | HttpClientConnection |
Represents a single http message exchange (request/response) or in H2, it can also represent a PUSH_PROMISE followed by the accompanying Response.
|
virtual |
|
delete |
|
delete |
|
protectednoexcept |
|
noexcept |
Get the underlying connection for the stream.
|
pure virtualnoexcept |
Implemented in Aws::Crt::Http::HttpClientStream.
|
delete |
|
delete |
|
noexcept |
Updates the read window on the connection. In Http 1.1 this relieves TCP back pressure, in H2 this will trigger two WINDOW_UPDATE frames, one for the connection and one for the stream.
You do not need to call this unless you utilized the outWindowUpdateSize
in OnIncomingBody
. See OnIncomingBody
for more information.
incrementSize
is the amount to update the read window by.
|
friend |
|
protected |
|
protected |