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 | |
| AwaitEventLoop & | await |
| const SocketDescriptor & | socket |
| Span< char > | buffer |
| AwaitSocketReceiveLineResult & | outResult |
| AsyncSocketReceive | request |
| Result | operationResult = Result(true) |
| size_t | numBytesReceived = 0 |
| char | currentByte = 0 |
| bool | lineComplete = false |
Awaiter that reads a '
'-terminated line into caller-provided storage.