SNode.C
|
#include <HTTP10Response.h>
Public Member Functions | |
HTTP10Response (const core::socket::stream::SocketContext *socketContext) | |
HTTP10Response (const HTTP10Response &)=delete | |
HTTP10Response (HTTP10Response &&) noexcept=default | |
HTTP10Response & | operator= (const HTTP10Response &)=delete |
HTTP10Response & | operator= (HTTP10Response &&) noexcept=default |
~HTTP10Response () override | |
![]() | |
ContentDecoder ()=default | |
ContentDecoder (const ContentDecoder &)=delete | |
ContentDecoder (ContentDecoder &&) noexcept=default | |
ContentDecoder & | operator= (const ContentDecoder &)=delete |
ContentDecoder & | operator= (ContentDecoder &&) noexcept=default |
virtual | ~ContentDecoder () |
bool | isComplete () const |
bool | isError () const |
std::vector< char > && | getContent () |
Private Member Functions | |
std::size_t | read () override |
Private Attributes | |
const core::socket::stream::SocketContext * | socketContext |
std::size_t | contentLengthRead = 0 |
Additional Inherited Members | |
![]() | |
std::vector< char > | content |
bool | completed = false |
bool | error = false |
Definition at line 59 of file HTTP10Response.h.
|
explicit |
Definition at line 58 of file HTTP10Response.cpp.
References socketContext.
Referenced by web::http::Parser::analyzeHeader().
|
delete |
|
defaultnoexcept |
|
override |
Definition at line 62 of file HTTP10Response.cpp.
|
delete |
|
defaultnoexcept |
|
overrideprivatevirtual |
Implements web::http::ContentDecoder.
Definition at line 65 of file HTTP10Response.cpp.
References web::http::ContentDecoder::content, contentLengthRead, core::socket::stream::SocketContext::readFromPeer(), and socketContext.
|
private |
Definition at line 75 of file HTTP10Response.h.
Referenced by read().
|
private |
Definition at line 73 of file HTTP10Response.h.
Referenced by HTTP10Response(), and read().