C# Class DynamicRest.HTTPInterfaces.HttpWebRequestWrappers.HttpWebRequestWrapper

Inheritance: IHttpRequest
ファイルを表示 Open project: Huddle/dynamicrest

Public Methods

Method 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
HttpWebRequestWrapper ( HttpWebRequest webrequest ) : System

Method Details

AddCredentials() public method

public AddCredentials ( ICredentials credentials ) : void
credentials ICredentials
return void

AddHeaders() public method

public AddHeaders ( WebHeaderCollection headers ) : void
headers System.Net.WebHeaderCollection
return void

AddRequestBody() public method

public AddRequestBody ( string contentType, string content ) : void
contentType string
content string
return void

BeginGetResponse() public method

public BeginGetResponse ( Action action, object asyncRequest ) : void
action Action
asyncRequest object
return void

EndGetResponse() public method

public EndGetResponse ( object asyncRequest ) : IHttpResponse
asyncRequest object
return IHttpResponse

GetResponse() public method

public GetResponse ( ) : IHttpResponse
return IHttpResponse

HttpWebRequestWrapper() public method

public HttpWebRequestWrapper ( HttpWebRequest webrequest ) : System
webrequest System.Net.HttpWebRequest
return System