C# Class org.GraphDefined.Vanaheimr.Hermod.HTTP.HTTPClientExtensions

A HTTP client extension methods.
Exibir arquivo Open project: Vanaheimr/Hermod

Public Methods

Method Description
ADD ( this HTTPClient, String URI, Action BuilderAction = null ) : HTTPRequestBuilder

Create a new HTTP ADD request.

COUNT ( this HTTPClient, String URI, Action BuilderAction = null ) : HTTPRequestBuilder

Create a new HTTP COUNT request.

CREATE ( this HTTPClient, String URI ) : HTTPRequestBuilder

Create a new HTTP CREATE request.

CREATE ( this HTTPClient, String URI, Action BuilderAction = null ) : HTTPRequestBuilder

Create a new HTTP CREATE request.

DELETE ( this HTTPClient, String URI, Action BuilderAction = null ) : HTTPRequestBuilder

Create a new HTTP DELETE request.

GET ( this HTTPClient, String URI, Action BuilderAction = null ) : HTTPRequestBuilder

Create a new HTTP GET request.

HEAD ( this HTTPClient, String URI ) : HTTPRequestBuilder

Create a new HTTP HEAD request.

OPTIONS ( this HTTPClient, String URI ) : HTTPRequestBuilder

Create a new HTTP OPTIONS request.

PATCH ( this HTTPClient, String URI ) : HTTPRequestBuilder

Create a new HTTP PATCH request.

POST ( this HTTPClient, String URI, Action BuilderAction = null ) : HTTPRequestBuilder

Create a new HTTP POST request.

PUT ( this HTTPClient, String URI, Action BuilderAction = null ) : HTTPRequestBuilder

Create a new HTTP PUT request.

SET ( this HTTPClient, String URI, Action BuilderAction = null ) : HTTPRequestBuilder

Create a new HTTP SET request.

TRACE ( this HTTPClient, String URI ) : HTTPRequestBuilder

Create a new HTTP TRACE request.

TRAVERSE ( this HTTPClient, String URI ) : HTTPRequestBuilder

Create a new HTTP TRAVERSE request.

Method Details

ADD() public static method

Create a new HTTP ADD request.
public static ADD ( this HTTPClient, String URI, Action BuilderAction = null ) : HTTPRequestBuilder
HTTPClient this A HTTP client.
URI String An URL path.
BuilderAction Action A delegate to configure the new HTTP request builder.
return HTTPRequestBuilder

COUNT() public static method

Create a new HTTP COUNT request.
public static COUNT ( this HTTPClient, String URI, Action BuilderAction = null ) : HTTPRequestBuilder
HTTPClient this A HTTP client.
URI String An URL path.
BuilderAction Action A delegate to configure the new HTTP request builder.
return HTTPRequestBuilder

CREATE() public static method

Create a new HTTP CREATE request.
public static CREATE ( this HTTPClient, String URI ) : HTTPRequestBuilder
HTTPClient this A HTTP client.
URI String An URL path.
return HTTPRequestBuilder

CREATE() public static method

Create a new HTTP CREATE request.
public static CREATE ( this HTTPClient, String URI, Action BuilderAction = null ) : HTTPRequestBuilder
HTTPClient this A HTTP client.
URI String An URL path.
BuilderAction Action A delegate to configure the new HTTP request builder.
return HTTPRequestBuilder

DELETE() public static method

Create a new HTTP DELETE request.
public static DELETE ( this HTTPClient, String URI, Action BuilderAction = null ) : HTTPRequestBuilder
HTTPClient this A HTTP client.
URI String An URL path.
BuilderAction Action A delegate to configure the new HTTP request builder.
return HTTPRequestBuilder

GET() public static method

Create a new HTTP GET request.
public static GET ( this HTTPClient, String URI, Action BuilderAction = null ) : HTTPRequestBuilder
HTTPClient this A HTTP client.
URI String An URL path.
BuilderAction Action A delegate to configure the new HTTP request builder.
return HTTPRequestBuilder

HEAD() public static method

Create a new HTTP HEAD request.
public static HEAD ( this HTTPClient, String URI ) : HTTPRequestBuilder
HTTPClient this A HTTP client.
URI String An URL path.
return HTTPRequestBuilder

OPTIONS() public static method

Create a new HTTP OPTIONS request.
public static OPTIONS ( this HTTPClient, String URI ) : HTTPRequestBuilder
HTTPClient this A HTTP client.
URI String An URL path.
return HTTPRequestBuilder

PATCH() public static method

Create a new HTTP PATCH request.
public static PATCH ( this HTTPClient, String URI ) : HTTPRequestBuilder
HTTPClient this A HTTP client.
URI String An URL path.
return HTTPRequestBuilder

POST() public static method

Create a new HTTP POST request.
public static POST ( this HTTPClient, String URI, Action BuilderAction = null ) : HTTPRequestBuilder
HTTPClient this A HTTP client.
URI String An URL path.
BuilderAction Action A delegate to configure the new HTTP request builder.
return HTTPRequestBuilder

PUT() public static method

Create a new HTTP PUT request.
public static PUT ( this HTTPClient, String URI, Action BuilderAction = null ) : HTTPRequestBuilder
HTTPClient this A HTTP client.
URI String An URL path.
BuilderAction Action
return HTTPRequestBuilder

SET() public static method

Create a new HTTP SET request.
public static SET ( this HTTPClient, String URI, Action BuilderAction = null ) : HTTPRequestBuilder
HTTPClient this A HTTP client.
URI String An URL path.
BuilderAction Action A delegate to configure the new HTTP request builder.
return HTTPRequestBuilder

TRACE() public static method

Create a new HTTP TRACE request.
public static TRACE ( this HTTPClient, String URI ) : HTTPRequestBuilder
HTTPClient this A HTTP client.
URI String An URL path.
return HTTPRequestBuilder

TRAVERSE() public static method

Create a new HTTP TRAVERSE request.
public static TRAVERSE ( this HTTPClient, String URI ) : HTTPRequestBuilder
HTTPClient this A HTTP client.
URI String An URL path.
return HTTPRequestBuilder