C# Class CSharpUtils.Scgi.ScgiServer

Show file Open project: soywiz/csharputils

Public Methods

Method Description
AcceptLoop ( ) : void
Listen ( ) : void
ScgiServer ( string BindIp, int BindPort ) : System

Protected Methods

Method Description
DecodeHeaders ( byte HeaderData ) : string>.Dictionary
HandleConnectionOnSeparateThread ( TcpClient TcpClient ) : void
HandleRequest ( HttpHeaderList HttpHeaderList, string>.Dictionary Parameters, byte PostContent ) : void

Method Details

AcceptLoop() public method

public AcceptLoop ( ) : void
return void

DecodeHeaders() protected method

protected DecodeHeaders ( byte HeaderData ) : string>.Dictionary
HeaderData byte
return string>.Dictionary

HandleConnectionOnSeparateThread() protected method

protected HandleConnectionOnSeparateThread ( TcpClient TcpClient ) : void
TcpClient System.Net.Sockets.TcpClient
return void

HandleRequest() protected method

protected HandleRequest ( HttpHeaderList HttpHeaderList, string>.Dictionary Parameters, byte PostContent ) : void
HttpHeaderList CSharpUtils.Http.HttpHeaderList
Parameters string>.Dictionary
PostContent byte
return void

Listen() public method

public Listen ( ) : void
return void

ScgiServer() public method

public ScgiServer ( string BindIp, int BindPort ) : System
BindIp string
BindPort int
return System