MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / clearTransportSetup

Function clearTransportSetup

Libraries/Http/HttpAsyncClient.h:202–202  ·  view source on GitHub ↗

@brief Clears the optional transport setup hook and restores default socket transport setup.

Source from the content-addressed store, hash-verified

200 /// later. This keeps TLS and other transport adapters outside the core Http library.
201 void setTransportSetup(Function<Result(HttpAsyncClientTransportSetup&)>&& setup) { transportSetup = move(setup); }
202
203 /// @brief Sets an optional transport policy hook invoked after URL parsing and before DNS or socket activity.
204 ///
205 /// This hook can reject URL forms that a transport adapter cannot represent safely. It must not retain the parser.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected