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

Inheritance: SocketHandler
ファイルを表示 Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Public Methods

Method Description
HttpSocketHandler ( Socket socket, RequestQueue requestQueue, Stream stream ) : System

Protected Methods

Method Description
ReadToEndOfHeaders ( BaseTransportHeaders headers, bool &bChunked, int &contentLength, bool &bKeepAlive, bool &bSendContinue ) : void
WriteHeaders ( ITransportHeaders headers, Stream outputStream ) : void
WriteResponseFirstLine ( String statusCode, String reasonPhrase, Stream outputStream ) : void

Private Methods

Method Description
WriteHeader ( String name, String value, Stream outputStream ) : void

Method Details

HttpSocketHandler() public method

public HttpSocketHandler ( Socket socket, RequestQueue requestQueue, Stream stream ) : System
socket Socket
requestQueue RequestQueue
stream Stream
return System

ReadToEndOfHeaders() protected method

protected ReadToEndOfHeaders ( BaseTransportHeaders headers, bool &bChunked, int &contentLength, bool &bKeepAlive, bool &bSendContinue ) : void
headers BaseTransportHeaders
bChunked bool
contentLength int
bKeepAlive bool
bSendContinue bool
return void

WriteHeaders() protected method

protected WriteHeaders ( ITransportHeaders headers, Stream outputStream ) : void
headers ITransportHeaders
outputStream Stream
return void

WriteResponseFirstLine() protected method

protected WriteResponseFirstLine ( String statusCode, String reasonPhrase, Stream outputStream ) : void
statusCode String
reasonPhrase String
outputStream Stream
return void