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 |
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.