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

Awaiter that reads a '
'-terminated line into caller-provided storage. More...

#include <Await.h>

Public Member Functions

 AwaitSocketReceiveLineAwaiter (AwaitEventLoop &await, const SocketDescriptor &socket, Span< char > buffer, AwaitSocketReceiveLineResult &outResult)
 
bool await_ready () const
 
bool await_suspend (AwaitTask::Handle continuation)
 
Result await_resume ()
 

Public Attributes

AwaitEventLoopawait
 
const SocketDescriptorsocket
 
Span< char > buffer
 
AwaitSocketReceiveLineResultoutResult
 
AsyncSocketReceive request
 
Result operationResult = Result(true)
 
size_t numBytesReceived = 0
 
char currentByte = 0
 
bool lineComplete = false
 

Detailed Description

Awaiter that reads a '
'-terminated line into caller-provided storage.


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