Your opinion will help to improve our service
Leave a feedback >#include <userver/engine/io/common.hpp>
Interface for writable streams
Definition at line 72 of file 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) |
impl::ContextAccessor * | TryGetContextAccessor () |
For internal use only. | |
Protected Member Functions | |
void | SetWritableContextAccessor (impl::ContextAccessor *ca) |
|
inlineprotected |
Definition at line 95 of file common.hpp.
|
inline |
For internal use only.
Definition at line 92 of file common.hpp.
|
nodiscardpure virtual |
Suspends current task until the data is available.
Implemented in engine::io::PipeWriter, engine::io::Socket, and engine::io::TlsWrapper.
|
nodiscardpure virtual |
Sends exactly len bytes of buf.
Implemented in engine::io::PipeWriter, engine::io::Socket, and engine::io::TlsWrapper.
|
inlinenodiscardvirtual |
Definition at line 83 of file common.hpp.