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

HTTP errors.
Exibir arquivo Open project: Vanaheimr/Hermod

Public Methods

Method Description
HTTPErrorResponse_old ( HTTPRequest HTTPRequest, HTTPStatusCode StatusCode, String Reasons = null ) : HTTPResponse

Return a HTTP error response using the best-matching content type.

Method Details

HTTPErrorResponse_old() public static method

Return a HTTP error response using the best-matching content type.
public static HTTPErrorResponse_old ( HTTPRequest HTTPRequest, HTTPStatusCode StatusCode, String Reasons = null ) : HTTPResponse
HTTPRequest HTTPRequest The HTTP request.
StatusCode HTTPStatusCode A HTTP status code.
Reasons String Optional application side reasons for this error.
return HTTPResponse