Function requestHttp

Performs a HTTP request on the specified URL.

The 'requester' parameter allows to customize the request and to specify the request body for non-GET requests.

Prototypes

HttpClientResponse requestHttp(
  string url,
  scope void delegate(HttpClientRequest req) requester
);

HttpClientResponse requestHttp(
  Url url,
  scope void delegate(HttpClientRequest req) requester
);

Authors

Sönke Ludwig, Jan Krüger

Copyright

© 2012 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.