HTTPClient.connect

Sets up this HTTPClient to connect to a specific server.

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

class HTTPClient
@safe
void
connect
(
string server
,
ushort port = 80
,
bool use_tls = false
,)

Meta