C# Class EvHttpSharp.EventHttpMultiworkerListener

Inheritance: IEventHttpListener
Afficher le fichier Open project: kekekeks/evhttp-sharp Class Usage Examples

Méthodes publiques

Méthode Description
Dispose ( ) : void
EventHttpMultiworkerListener ( EventHttpListener cb, int workers ) : System
Shutdown ( ) : System.Threading.Tasks.Task
Start ( IntPtr sharedSocket ) : void
Start ( string host, ushort port ) : void
StopListeningAsync ( ) : System.Threading.Tasks.Task
WaitForPendingConnections ( ) : System.Threading.Tasks.Task

Private Methods

Méthode Description
Aggregate ( IEnumerable tasks ) : System.Threading.Tasks.Task
CheckAlreadyListening ( ) : void

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

EventHttpMultiworkerListener() public méthode

public EventHttpMultiworkerListener ( EventHttpListener cb, int workers ) : System
cb EventHttpListener
workers int
Résultat System

Shutdown() public méthode

public Shutdown ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

Start() public méthode

public Start ( IntPtr sharedSocket ) : void
sharedSocket System.IntPtr
Résultat void

Start() public méthode

public Start ( string host, ushort port ) : void
host string
port ushort
Résultat void

StopListeningAsync() public méthode

public StopListeningAsync ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

WaitForPendingConnections() public méthode

public WaitForPendingConnections ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task