C# Class Nancy.Hosting.Event2.EventHttp.EventHttpListener

Inheritance: IDisposable
显示文件 Open project: kekekeks/Nancy.Hosting.Event.2 Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
EventHttpListener ( RequestCallback cb ) : System
Start ( string host, ushort port ) : void

Private Methods

Method Description
DoDispose ( ) : void
MainCycle ( ) : void
RequestHandler ( IntPtr request, IntPtr arg ) : void
Sync ( System.Action cb ) : void
SyncCallback ( int fd, short events, IntPtr arg ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

EventHttpListener() public method

public EventHttpListener ( RequestCallback cb ) : System
cb RequestCallback
return System

Start() public method

public Start ( string host, ushort port ) : void
host string
port ushort
return void