Write operaton using sendfile.
More...
#include <write_group_output_ctx.hpp>
Write operaton using sendfile.
Definition at line 141 of file write_group_output_ctx.hpp.
◆ file_write_operation_t() [1/3]
|
inlineexplicitprivatenoexcept |
◆ file_write_operation_t() [2/3]
◆ file_write_operation_t() [3/3]
restinio::impl::write_group_output_ctx_t::file_write_operation_t::file_write_operation_t |
( |
file_write_operation_t && |
| ) |
|
|
default |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ reset()
void restinio::impl::write_group_output_ctx_t::file_write_operation_t::reset |
( |
| ) |
|
|
inlinenoexcept |
◆ size()
auto restinio::impl::write_group_output_ctx_t::file_write_operation_t::size |
( |
| ) |
const |
|
inlinenoexcept |
◆ start_sendfile_operation()
template<typename Socket , typename After_Write_CB >
void restinio::impl::write_group_output_ctx_t::file_write_operation_t::start_sendfile_operation |
( |
default_asio_executor |
executor, |
|
|
Socket & |
socket, |
|
|
After_Write_CB |
after_sendfile_cb |
|
) |
| |
|
inline |
Start a sendfile operation.
- Note
- Since v.0.4.9 it is non-const method. This is necessary to get a non-const reference to sendfile operation.
Definition at line 167 of file write_group_output_ctx.hpp.
◆ timelimit()
auto restinio::impl::write_group_output_ctx_t::file_write_operation_t::timelimit |
( |
| ) |
const |
|
inlinenoexcept |
◆ write_group_output_ctx_t
◆ m_sendfile
sendfile_t* restinio::impl::write_group_output_ctx_t::file_write_operation_t::m_sendfile |
|
private |
◆ m_sendfile_operation
The documentation for this class was generated from the following file: