Метод | Описание | |
---|---|---|
Dispose ( ) : void | ||
KillConnections ( ) : void | ||
Server ( IServerBehaviour behaviour ) : Microsoft.Extensions.Logging | ||
Start ( ) : void |
Runs the server asynchronously. This method returns once the server has been started. To stop the server call the Stop() method.
|
|
Stop ( ) : void |
Stops the running server. Any existing connections are terminated.
|
|
Stop ( bool killConnections ) : void |
Stops the running server. This method blocks until all connections have terminated, either by normal completion or timeout, or if killConnections has been specified then once all of the threads have been killed.
|
|
WaitForNextConnection ( ) : void |
Метод | Описание | |
---|---|---|
Dispose ( bool disposing ) : void |
Метод | Описание | |
---|---|---|
AcceptNextClient ( ) : Task | ||
Core ( ) : void | ||
GetVerbMap ( ) : IVerbMap |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
Результат | void |
public Server ( IServerBehaviour behaviour ) : Microsoft.Extensions.Logging | ||
behaviour | IServerBehaviour | |
Результат | Microsoft.Extensions.Logging |
public Stop ( bool killConnections ) : void | ||
killConnections | bool | True if existing connections should be terminated. |
Результат | void |