C# Class CSharpUtils.Web._45.Fastcgi.FastcgiServerAsync

Show file Open project: soywiz/csharputils Class Usage Examples

Public Properties

Property Type Description
Debug bool

Protected Properties

Property Type Description
CancellationToken System.Threading.CancellationToken
TcpListener System.Net.Sockets.TcpListener

Public Methods

Method Description
HandleRequestAsync ( FastcgiRequestAsync Request, FastcgiResponseAsync Response ) : Task
Listen ( ushort Port, string Address = "0.0.0.0" ) : void
ListenAsync ( ushort Port, string Address = "0.0.0.0" ) : Task
ListenAsyncAndWait ( ushort Port, string Address = "0.0.0.0" ) : void

Method Details

HandleRequestAsync() public abstract method

public abstract HandleRequestAsync ( FastcgiRequestAsync Request, FastcgiResponseAsync Response ) : Task
Request FastcgiRequestAsync
Response FastcgiResponseAsync
return Task

Listen() public method

public Listen ( ushort Port, string Address = "0.0.0.0" ) : void
Port ushort
Address string
return void

ListenAsync() public method

public ListenAsync ( ushort Port, string Address = "0.0.0.0" ) : Task
Port ushort
Address string
return Task

ListenAsyncAndWait() public method

public ListenAsyncAndWait ( ushort Port, string Address = "0.0.0.0" ) : void
Port ushort
Address string
return void

Property Details

CancellationToken protected property

protected CancellationToken,System.Threading CancellationToken
return System.Threading.CancellationToken

Debug public property

public bool Debug
return bool

TcpListener protected property

protected TcpListener,System.Net.Sockets TcpListener
return System.Net.Sockets.TcpListener