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 ,
  scope void delegate(scope HttpClientRequest) 
);

HttpClientResponse requestHttp(
  Url ,
  scope void delegate(scope HttpClientRequest) 
);

void requestHttp(
  string ,
  scope void delegate(scope HttpClientRequest) ,
  scope void delegate(scope HttpClientResponse) 
);

void requestHttp(
  Url ,
  scope void delegate(scope HttpClientRequest) ,
  scope void delegate(scope HttpClientResponse) 
);

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.