|
aws-crt-cpp
|
#include <HttpRequestResponse.h>
Public Member Functions | |
| HttpResponse (Allocator *allocator=g_allocator) | |
| Optional< int > | GetResponseCode () const noexcept |
| bool | SetResponseCode (int response) noexcept |
Public Member Functions inherited from Aws::Crt::Http::HttpMessage | |
| virtual | ~HttpMessage () |
| HttpMessage (const HttpMessage &)=delete | |
| HttpMessage (HttpMessage &&)=delete | |
| HttpMessage & | operator= (const HttpMessage &)=delete |
| HttpMessage & | operator= (HttpMessage &&)=delete |
| std::shared_ptr< Aws::Crt::Io::InputStream > | GetBody () const noexcept |
| bool | SetBody (const std::shared_ptr< Aws::Crt::Io::IStream > &body) noexcept |
| bool | SetBody (const std::shared_ptr< Aws::Crt::Io::InputStream > &body) noexcept |
| size_t | GetHeaderCount () const noexcept |
| Optional< HttpHeader > | GetHeader (size_t index) const noexcept |
| bool | AddHeader (const HttpHeader &header) noexcept |
| bool | EraseHeader (size_t index) noexcept |
| operator bool () const noexcept | |
| struct aws_http_message * | GetUnderlyingMessage () const noexcept |
Additional Inherited Members | |
Protected Member Functions inherited from Aws::Crt::Http::HttpMessage | |
| HttpMessage (Allocator *allocator, struct aws_http_message *message, bool ownsMessage=true) noexcept | |
Protected Attributes inherited from Aws::Crt::Http::HttpMessage | |
| Allocator * | m_allocator |
| struct aws_http_message * | m_message |
| std::shared_ptr< Aws::Crt::Io::InputStream > | m_bodyStream |
| bool | m_ownsMessage |
Class representing a mutable http response.
| Aws::Crt::Http::HttpResponse::HttpResponse | ( | Allocator * | allocator = g_allocator | ) |
|
noexcept |
Gets the integral Http response code associated with this response
|
noexcept |
Sets the integral Http response code associated with this response
1.8.18