#include <userver/engine/io/common.hpp>
Public Member Functions | |
virtual bool | WaitWriteable (Deadline deadline)=0 |
Suspends current task until the data is available. | |
virtual size_t | WriteAll (const void *buf, size_t len, Deadline deadline)=0 |
Sends exactly len bytes of buf. | |
virtual size_t | WriteAll (std::initializer_list< IoData > list, Deadline deadline) |
Interface for writable streams
Definition at line 50 of file common.hpp.
|
pure virtual |
Suspends current task until the data is available.
Implemented in engine::io::PipeWriter, engine::io::Socket, and engine::io::TlsWrapper.
|
pure virtual |
Sends exactly len bytes of buf.
Implemented in engine::io::PipeWriter, engine::io::Socket, and engine::io::TlsWrapper.
|
inlinevirtual |
Definition at line 62 of file common.hpp.