#include <Chunked.h>
Classes | |
| class | Chunk |
Public Member Functions | |
| Chunked (const core::socket::stream::SocketContext *socketContext) | |
| Chunked (const Chunked &)=delete | |
| Chunked (Chunked &&) noexcept=default | |
| Chunked & | operator= (const Chunked &)=delete |
| Chunked & | operator= (Chunked &&) noexcept=default |
| Public Member Functions inherited from web::http::ContentDecoder | |
| 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 |
| Chunk | chunk |
| int | state = 0 |
Additional Inherited Members | |
| Protected Attributes inherited from web::http::ContentDecoder | |
| std::vector< char > | content |
| bool | completed = false |
| bool | error = false |
|
explicit |
Definition at line 54 of file Chunked.cpp.
References socketContext.
Referenced by web::http::Parser::analyzeHeader().
|
delete |
|
defaultnoexcept |
|
overrideprivatevirtual |
Implements web::http::ContentDecoder.
Definition at line 58 of file Chunked.cpp.
References web::http::decoder::Chunked::Chunk::begin(), chunk, web::http::ContentDecoder::completed, web::http::ContentDecoder::content, web::http::decoder::Chunked::Chunk::end(), web::http::ContentDecoder::error, web::http::decoder::Chunked::Chunk::isComplete(), web::http::decoder::Chunked::Chunk::isError(), web::http::decoder::Chunked::Chunk::read(), web::http::decoder::Chunked::Chunk::size(), socketContext, and state.
|
private |
|
private |
|
private |