SNode.C
|
#include <Identity.h>
Public Member Functions | |
Identity (const core::socket::stream::SocketContext *socketContext, std::size_t contentLengthExpected) | |
Identity (const Identity &)=delete | |
Identity (Identity &&) noexcept=default | |
Identity & | operator= (const Identity &)=delete |
Identity & | operator= (Identity &&) noexcept=default |
~Identity () 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 | contentLengthExpected = 0 |
std::size_t | contentLengthRead = 0 |
int | state = 0 |
Additional Inherited Members | |
![]() | |
std::vector< char > | content |
bool | completed = false |
bool | error = false |
Definition at line 37 of file Identity.h.
web::http::decoder::Identity::Identity | ( | const core::socket::stream::SocketContext * | socketContext, |
std::size_t | contentLengthExpected ) |
Definition at line 32 of file Identity.cpp.
References contentLengthExpected, and socketContext.
|
delete |
|
defaultnoexcept |
|
override |
Definition at line 38 of file Identity.cpp.
|
overrideprivatevirtual |
Implements web::http::ContentDecoder.
Definition at line 41 of file Identity.cpp.
References web::http::ContentDecoder::completed, contentLengthExpected, contentLengthRead, web::http::ContentDecoder::error, and state.
|
private |
Definition at line 52 of file Identity.h.
Referenced by Identity(), and read().
|
private |
Definition at line 53 of file Identity.h.
Referenced by read().
|
private |
Definition at line 51 of file Identity.h.
Referenced by Identity().
|
private |
Definition at line 55 of file Identity.h.
Referenced by read().