Sane C++ Libraries
C++ Platform Abstraction Libraries
Loading...
Searching...
No Matches
SC::AwaitSocketSendAllAwaiter Struct Reference

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

AwaitEventLoopawait
 
const SocketDescriptorsocket
 
Span< const char > data
 
AwaitSocketSendResultoutResult = nullptr
 
AsyncSocketSend request
 
Result operationResult = Result(true)
 
size_t numBytesSent = 0
 

Detailed Description

Awaiter that reactivates AsyncSocketSend until the whole buffer is sent.


The documentation for this struct was generated from the following file: