C# Class System.Runtime.Remoting.Channels.Http.HttpClientTransportSink

Inheritance: System.Runtime.Remoting.Channels.BaseChannelSinkWithProperties, IClientChannelSink, IChannelSinkBase
Exibir arquivo Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Private Properties

Property Type Description
CollectResponseHeaders ITransportHeaders
HttpClientTransportSink System
ProcessAndSend System.Net.HttpWebRequest
ProcessResponseException void
ReceiveAndProcess void
SetupWebRequest System.Net.HttpWebRequest
UpdateProxy void

Public Methods

Method Description
AsyncProcessRequest ( IClientChannelSinkStack sinkStack, IMessage msg, ITransportHeaders headers, Stream stream ) : void
AsyncProcessResponse ( IClientResponseChannelSinkStack sinkStack, Object state, ITransportHeaders headers, Stream stream ) : void
GetRequestStream ( IMessage msg, ITransportHeaders headers ) : Stream
ProcessMessage ( IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders &responseHeaders, Stream &responseStream ) : void
this ( Object key ) : Object

Private Methods

Method Description
CollectResponseHeaders ( HttpWebResponse response ) : ITransportHeaders
HttpClientTransportSink ( HttpClientChannel channel, String channelURI ) : System
ProcessAndSend ( IMessage msg, ITransportHeaders headers, Stream inputStream ) : HttpWebRequest
ProcessResponseException ( WebException webException, HttpWebResponse &response ) : void
ReceiveAndProcess ( HttpWebResponse response, ITransportHeaders &returnHeaders, Stream &returnStream ) : void
SetupWebRequest ( IMessage msg, ITransportHeaders headers ) : HttpWebRequest
UpdateProxy ( ) : void

Method Details

AsyncProcessRequest() public method

public AsyncProcessRequest ( IClientChannelSinkStack sinkStack, IMessage msg, ITransportHeaders headers, Stream stream ) : void
sinkStack IClientChannelSinkStack
msg IMessage
headers ITransportHeaders
stream Stream
return void

AsyncProcessResponse() public method

public AsyncProcessResponse ( IClientResponseChannelSinkStack sinkStack, Object state, ITransportHeaders headers, Stream stream ) : void
sinkStack IClientResponseChannelSinkStack
state Object
headers ITransportHeaders
stream Stream
return void

GetRequestStream() public method

public GetRequestStream ( IMessage msg, ITransportHeaders headers ) : Stream
msg IMessage
headers ITransportHeaders
return Stream

ProcessMessage() public method

public ProcessMessage ( IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders &responseHeaders, Stream &responseStream ) : void
msg IMessage
requestHeaders ITransportHeaders
requestStream Stream
responseHeaders ITransportHeaders
responseStream Stream
return void

this() public method

public this ( Object key ) : Object
key Object
return Object