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

Connection request offered to an external transport before Http performs DNS or creates a socket. More...

#include <HttpAsyncClient.h>

Public Attributes

HttpConnectionBase * connection = nullptr
 
AsyncEventLoop * eventLoop = nullptr
 
const HttpURLParser * url = nullptr
 
Function< void(Result)> complete
 
Function< void(Result)> fail
 

Detailed Description

Connection request offered to an external transport before Http performs DNS or creates a socket.

The connector installs ready plaintext streams through connection->setTransportStreams() and calls complete. It calls fail if the established transport later fails. Both callbacks become invalid when the transport close hook runs. The connector and installed streams remain caller-owned.


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