a Buffer to send/read from network.
More...
#include <http_request.h>
a Buffer to send/read from network.
wraps evbuffer
◆ HttpBuffer() [1/2]
◆ ~HttpBuffer()
HttpBuffer::~HttpBuffer |
( |
| ) |
|
|
default |
◆ HttpBuffer() [2/2]
HttpBuffer::HttpBuffer |
( |
std::unique_ptr< impl > && |
buffer | ) |
|
|
private |
◆ add()
void HttpBuffer::add |
( |
const char * |
data, |
|
|
size_t |
data_size |
|
) |
| |
◆ add_file()
void HttpBuffer::add_file |
( |
int |
file_fd, |
|
|
off_t |
offset, |
|
|
off_t |
size |
|
) |
| |
◆ length()
size_t HttpBuffer::length |
( |
| ) |
const |
◆ pop_front()
std::vector< uint8_t > HttpBuffer::pop_front |
( |
size_t |
length | ) |
|
move a subset out from the front of the buffer.
◆ HttpRequest
◆ pImpl_
std::unique_ptr<impl> HttpBuffer::pImpl_ |
|
private |
The documentation for this class was generated from the following files: