C# Class m.Http.Backend.Tcp.HttpSession

Inheritance: TcpSessionBase
Show file Open project: joongonn/mHttp Class Usage Examples

Public Methods

Method Description
HttpSession ( long id, TcpClient tcpClient, Stream stream, bool isSecured, int maxKeepAlives, int initialReadBufferSize, int readTimeoutMs, int writeTimeoutMs ) : System
TryParseNextRequestFromBuffer ( int &requestBytes, System.Net.HttpRequest &request ) : bool

Method Details

HttpSession() public method

public HttpSession ( long id, TcpClient tcpClient, Stream stream, bool isSecured, int maxKeepAlives, int initialReadBufferSize, int readTimeoutMs, int writeTimeoutMs ) : System
id long
tcpClient System.Net.Sockets.TcpClient
stream Stream
isSecured bool
maxKeepAlives int
initialReadBufferSize int
readTimeoutMs int
writeTimeoutMs int
return System

TryParseNextRequestFromBuffer() public method

public TryParseNextRequestFromBuffer ( int &requestBytes, System.Net.HttpRequest &request ) : bool
requestBytes int
request System.Net.HttpRequest
return bool