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

Mutable transport setup view used by HttpAsyncClient after the TCP socket connects. More...

#include <HttpAsyncClient.h>

Public Attributes

HttpConnectionBaseconnection = nullptr
 
AsyncEventLoopeventLoop = nullptr
 
const HttpURLParserurl = nullptr
 
SocketDescriptor::Handle nativeSocket = SocketDescriptor::Invalid
 
Function< void(Result)> complete
 

Detailed Description

Mutable transport setup view used by HttpAsyncClient after the TCP socket connects.

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 setup also exposes the connected socket handle for transport adapters.


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