|
SNode.C
|
#include <ContentDecoder.h>
Public Member Functions | |
| ContentDecoder ()=default | |
| ContentDecoder (const ContentDecoder &)=delete | |
| ContentDecoder (ContentDecoder &&) noexcept=default | |
| ContentDecoder & | operator= (const ContentDecoder &)=delete |
| ContentDecoder & | operator= (ContentDecoder &&) noexcept=default |
| virtual | ~ContentDecoder () |
| virtual std::size_t | read ()=0 |
| bool | isComplete () const |
| bool | isError () const |
| std::vector< char > && | getContent () |
Protected Attributes | |
| std::vector< char > | content |
| bool | completed = false |
| bool | error = false |
Definition at line 54 of file ContentDecoder.h.
|
default |
|
delete |
|
defaultnoexcept |
|
virtual |
Definition at line 52 of file ContentDecoder.cpp.
| std::vector< char > && web::http::ContentDecoder::getContent | ( | ) |
Definition at line 63 of file ContentDecoder.cpp.
References content.
Referenced by web::http::client::ResponseParser::getResponse(), and web::http::Parser::readContent().
| bool web::http::ContentDecoder::isComplete | ( | ) | const |
Definition at line 55 of file ContentDecoder.cpp.
References completed.
Referenced by web::http::Parser::readContent().
| bool web::http::ContentDecoder::isError | ( | ) | const |
Definition at line 59 of file ContentDecoder.cpp.
References error.
Referenced by web::http::Parser::readContent().
|
delete |
|
defaultnoexcept |
|
pure virtual |
Implemented in web::http::decoder::Chunked, web::http::decoder::HTTP10Response, and web::http::decoder::Identity.
Referenced by web::http::Parser::readContent().
|
protected |
Definition at line 78 of file ContentDecoder.h.
Referenced by isComplete(), web::http::decoder::Chunked::read(), and web::http::decoder::Identity::read().
|
protected |
Definition at line 76 of file ContentDecoder.h.
Referenced by getContent(), web::http::decoder::Identity::Identity(), web::http::decoder::Chunked::read(), web::http::decoder::HTTP10Response::read(), and web::http::decoder::Identity::read().
|
protected |
Definition at line 79 of file ContentDecoder.h.
Referenced by isError(), web::http::decoder::Chunked::read(), and web::http::decoder::Identity::read().