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

Mutable transport setup view used by HttpAsyncServer after accepting a TCP socket. More...

#include <HttpAsyncServer.h>

Public Attributes

HttpConnectionconnection = nullptr
 
AsyncEventLoopeventLoop = nullptr
 
Function< void(Result)> complete
 

Detailed Description

Mutable transport setup view used by HttpAsyncServer after accepting a TCP socket.

The default setup keeps connection using its socket streams. A custom setup can install alternate active streams with HttpConnectionBase::setTransportStreams() and must call complete when the transport is ready for HTTP.


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