C# Class Simple.Rest.RestResponse

Inheritance: IRestResponse
Afficher le fichier Open project: oriches/Simple.Rest

Méthodes publiques

Méthode Description
RestResponse ( HttpWebResponse response ) : System

Extracts the properties from the HTTP response.

RestResponse ( HttpWebResponse response, Exception exception ) : System

Extracts the properties from the HTTP response and handles the exception generated during the request.

Method Details

RestResponse() public méthode

Extracts the properties from the HTTP response.
public RestResponse ( HttpWebResponse response ) : System
response System.Net.HttpWebResponse The HTTP response.
Résultat System

RestResponse() public méthode

Extracts the properties from the HTTP response and handles the exception generated during the request.
public RestResponse ( HttpWebResponse response, Exception exception ) : System
response System.Net.HttpWebResponse The HTTP response.
exception System.Exception The exception generated during the HTTP request\response.
Résultat System