C# Class DynamicRest.HTTPInterfaces.HttpWebClientWrappers.HTTPClientRequestWrapper

Inheritance: IHttpRequest
Afficher le fichier Open project: Huddle/dynamicrest

Méthodes publiques

Méthode Description
AddCredentials ( ICredentials credentials ) : void
AddHeaders ( WebHeaderCollection headers ) : void
AddRequestBody ( string contentType, string content ) : void
BeginGetResponse ( Action action, object asyncRequest ) : void
EndGetResponse ( object asyncRequest ) : IHttpResponse
GetResponse ( ) : IHttpResponse
HTTPClientRequestWrapper ( HttpClient client ) : System

Method Details

AddCredentials() public méthode

public AddCredentials ( ICredentials credentials ) : void
credentials ICredentials
Résultat void

AddHeaders() public méthode

public AddHeaders ( WebHeaderCollection headers ) : void
headers System.Net.WebHeaderCollection
Résultat void

AddRequestBody() public méthode

public AddRequestBody ( string contentType, string content ) : void
contentType string
content string
Résultat void

BeginGetResponse() public méthode

public BeginGetResponse ( Action action, object asyncRequest ) : void
action Action
asyncRequest object
Résultat void

EndGetResponse() public méthode

public EndGetResponse ( object asyncRequest ) : IHttpResponse
asyncRequest object
Résultat IHttpResponse

GetResponse() public méthode

public GetResponse ( ) : IHttpResponse
Résultat IHttpResponse

HTTPClientRequestWrapper() public méthode

public HTTPClientRequestWrapper ( HttpClient client ) : System
client System.Net.Http.HttpClient
Résultat System