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

Datei anzeigen 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_oe property

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

Debug public_oe property

public bool Debug
return bool

TcpListener protected_oe property

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