Awaiter that reactivates AsyncSocketSend until the whole buffer is sent. More...
#include <Await.h>
Public Member Functions | |
| AwaitSocketSendAllAwaiter (AwaitEventLoop &await, const SocketDescriptor &socket, Span< const char > data, AwaitSocketSendResult *outResult) | |
| bool | await_ready () const |
| bool | await_suspend (AwaitTask::Handle continuation) |
| Result | await_resume () |
Public Attributes | |
| AwaitEventLoop & | await |
| const SocketDescriptor & | socket |
| Span< const char > | data |
| AwaitSocketSendResult * | outResult = nullptr |
| AsyncSocketSend | request |
| Result | operationResult = Result(true) |
| size_t | numBytesSent = 0 |
Awaiter that reactivates AsyncSocketSend until the whole buffer is sent.