Function connectHTTP
Returns a HTTPClient
proxy object that is connected to the specified host
.
Internally, a connection pool is used to reuse already existing connections. Note that
usually requestHTTP
should be used for making requests instead of manually using a
HTTPClient
to do so.
Prototype
auto LockedConnection!(vibe.http.client.HTTPClient) connectHTTP(
string host,
ushort port = cast(ushort)0u,
bool use_tls = false,
HTTPClientSettings settings = defaultSettings
);
Authors
Sönke Ludwig, Jan Krüger
Copyright
© 2012-2014 RejectedSoftware e.K.
License
Subject to the terms of the MIT license, as written in the included LICENSE.txt file.