bitz-server
1.0.2
|
Public Member Functions | |
Request (RequestHeader *req_header) | |
RequestHeader *const | header () const throw () |
void | payload (payload_t payload) throw () |
const payload_t & | payload () const throw () |
const int | preview_size () throw () |
RequestHeader *const icap::Request::header | ( | ) | const | |
throw | ( | |||
) |
Return the request header
void icap::Request::payload | ( | payload_t | payload | ) | |
throw | ( | ||||
) |
Set the payload data for this response instance from a icap::payload_t data structure
payload | payload data structure |
const payload_t & icap::Request::payload | ( | ) | const | |
throw | ( | |||
) |
Return the payload data for this response instance
const int icap::Request::preview_size | ( | ) | ||
throw | ( | |||
) |
Returns the number of preview bytes in the request. If the preview header is not present in the request then a minus (-1) value will be returned.