vibe.d beta banner
get vibe.d
0.7.30

Function HTTPClient.connect

Connects to a specific server.

This method may only be called if any previous connection has been closed.

Prototype

void connect(
  string server,
  ushort port = cast(ushort)80u,
  bool use_tls = false,
  const(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.