#include <Pt/Http/Message.h>
HTTP message with header and body.
Inherited by Reply, and Request.
Public Member Functions | |
Message (Http::Connection &conn) | |
Constructs with connection to use. | |
std::iostream & | body () |
Returns the body of the message. | |
void | discard () |
Discards the message body. | |
MessageHeader & | header () |
Returns the header of the message. | |
const MessageHeader & | header () const |
Returns the header of the message. | |