#include </github/workspace/internal/nawa/connection/FlushCallbackContainer.h>
Public Member Functions | |
std::string | getStatusString () const |
std::string | getFullHttp () const |
Public Attributes | |
unsigned int | status |
std::unordered_multimap< std::string, std::string > | headers |
std::string | body |
bool | flushedBefore |
Internal container passed to the FlushCallbackFunction.
Definition at line 35 of file FlushCallbackContainer.h.
std::string FlushCallbackContainer::getStatusString | ( | ) | const |
Get a textual representation of the HTTP status (such as "200 OK"). Implemented in Connection.cpp.
Definition at line 525 of file Connection.cpp.
std::string FlushCallbackContainer::getFullHttp | ( | ) | const |
Generate a full raw HTTP source, including headers when flushing for the first time (but without HTTP status). Implemented in Connection.cpp.
Definition at line 534 of file Connection.cpp.
unsigned int nawa::FlushCallbackContainer::status |
The HTTP response status as an unsigned integer.
Definition at line 36 of file FlushCallbackContainer.h.
std::unordered_multimap<std::string, std::string> nawa::FlushCallbackContainer::headers |
The multimap of response headers.
Definition at line 37 of file FlushCallbackContainer.h.
std::string nawa::FlushCallbackContainer::body |
The response body.
Definition at line 38 of file FlushCallbackContainer.h.
bool nawa::FlushCallbackContainer::flushedBefore |
True if the response has been flushed before, false otherwise.
Definition at line 39 of file FlushCallbackContainer.h.