C# Class Microsoft.Http.HttpClient

Inheritance: IDisposable
Mostrar archivo Open project: o2platform/O2.Platform.Projects Class Usage Examples

Public Methods

Method Description
BeginSend ( HttpRequestMessage request, AsyncCallback callback, object state ) : IAsyncResult
Dispose ( ) : void
EndSend ( IAsyncResult result ) : HttpResponseMessage
HttpClient ( ) : System
HttpClient ( Uri baseAddress ) : System
HttpClient ( string baseAddress ) : System
Send ( HttpMethod method ) : HttpResponseMessage
Send ( HttpMethod method, Uri uri ) : HttpResponseMessage
Send ( HttpMethod method, Uri uri, HttpContent content ) : HttpResponseMessage
Send ( HttpMethod method, Uri uri, Microsoft.Http.Headers.RequestHeaders headers ) : HttpResponseMessage
Send ( HttpMethod method, Uri uri, Microsoft.Http.Headers.RequestHeaders headers, HttpContent content ) : HttpResponseMessage
Send ( HttpMethod method, string uri ) : HttpResponseMessage
Send ( HttpMethod method, string uri, HttpContent content ) : HttpResponseMessage
Send ( HttpMethod method, string uri, Microsoft.Http.Headers.RequestHeaders headers ) : HttpResponseMessage
Send ( HttpMethod method, string uri, Microsoft.Http.Headers.RequestHeaders headers, HttpContent content ) : HttpResponseMessage
Send ( HttpRequestMessage request ) : HttpResponseMessage
SendAsync ( HttpRequestMessage request ) : void
SendAsync ( HttpRequestMessage request, object userState ) : void
SendAsyncCancel ( object userState ) : void

Protected Methods

Method Description
CreateTransportStage ( ) : Microsoft.Http.HttpStage
Dispose ( bool disposing ) : void
ThrowIfDisposed ( ) : void

Private Methods

Method Description
BeginSendCore ( HttpRequestMessage request, AsyncCallback callback, object state ) : HttpStageProcessingAsyncResult
GetPipeline ( ) : ReadOnlyCollection
OperationCompleted ( object o ) : void
PrepareRequest ( HttpRequestMessage &request ) : void
SendAsyncCore ( HttpRequestMessage request, object userState ) : void
SendCompletedCore ( IAsyncResult a ) : void

Method Details

BeginSend() public method

public BeginSend ( HttpRequestMessage request, AsyncCallback callback, object state ) : IAsyncResult
request HttpRequestMessage
callback AsyncCallback
state object
return IAsyncResult

CreateTransportStage() protected method

protected CreateTransportStage ( ) : Microsoft.Http.HttpStage
return Microsoft.Http.HttpStage

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

EndSend() public method

public EndSend ( IAsyncResult result ) : HttpResponseMessage
result IAsyncResult
return HttpResponseMessage

HttpClient() public method

public HttpClient ( ) : System
return System

HttpClient() public method

public HttpClient ( Uri baseAddress ) : System
baseAddress System.Uri
return System

HttpClient() public method

public HttpClient ( string baseAddress ) : System
baseAddress string
return System

Send() public method

public Send ( HttpMethod method ) : HttpResponseMessage
method HttpMethod
return HttpResponseMessage

Send() public method

public Send ( HttpMethod method, Uri uri ) : HttpResponseMessage
method HttpMethod
uri System.Uri
return HttpResponseMessage

Send() public method

public Send ( HttpMethod method, Uri uri, HttpContent content ) : HttpResponseMessage
method HttpMethod
uri System.Uri
content HttpContent
return HttpResponseMessage

Send() public method

public Send ( HttpMethod method, Uri uri, Microsoft.Http.Headers.RequestHeaders headers ) : HttpResponseMessage
method HttpMethod
uri System.Uri
headers Microsoft.Http.Headers.RequestHeaders
return HttpResponseMessage

Send() public method

public Send ( HttpMethod method, Uri uri, Microsoft.Http.Headers.RequestHeaders headers, HttpContent content ) : HttpResponseMessage
method HttpMethod
uri System.Uri
headers Microsoft.Http.Headers.RequestHeaders
content HttpContent
return HttpResponseMessage

Send() public method

public Send ( HttpMethod method, string uri ) : HttpResponseMessage
method HttpMethod
uri string
return HttpResponseMessage

Send() public method

public Send ( HttpMethod method, string uri, HttpContent content ) : HttpResponseMessage
method HttpMethod
uri string
content HttpContent
return HttpResponseMessage

Send() public method

public Send ( HttpMethod method, string uri, Microsoft.Http.Headers.RequestHeaders headers ) : HttpResponseMessage
method HttpMethod
uri string
headers Microsoft.Http.Headers.RequestHeaders
return HttpResponseMessage

Send() public method

public Send ( HttpMethod method, string uri, Microsoft.Http.Headers.RequestHeaders headers, HttpContent content ) : HttpResponseMessage
method HttpMethod
uri string
headers Microsoft.Http.Headers.RequestHeaders
content HttpContent
return HttpResponseMessage

Send() public method

public Send ( HttpRequestMessage request ) : HttpResponseMessage
request HttpRequestMessage
return HttpResponseMessage

SendAsync() public method

public SendAsync ( HttpRequestMessage request ) : void
request HttpRequestMessage
return void

SendAsync() public method

public SendAsync ( HttpRequestMessage request, object userState ) : void
request HttpRequestMessage
userState object
return void

SendAsyncCancel() public method

public SendAsyncCancel ( object userState ) : void
userState object
return void

ThrowIfDisposed() protected method

protected ThrowIfDisposed ( ) : void
return void