Function HTTPClient.connect
Sets up this HTTPClient to connect to a specific server.
void connect
(
string server,
ushort port = cast(ushort)80u,
bool use_tls = false,
const(HTTPClientSettings) settings = defaultSettings()
) @safe;
This method may only be called if any previous connection has been closed.
The actual connection is deferred until a request is initiated (using HTTPClient
).