Interface IMorpheoServer
Defines the contract for the embedded Morpheo server.
Namespace: Morpheo.Core.Server
Assembly: Morpheo.Core.dll
Syntax
public interface IMorpheoServer
Methods
| Edit this page View SourceStartAsync(CancellationToken)
Starts the server asynchronously.
Declaration
Task StartAsync(CancellationToken ct)
Parameters
| Type | Name | Description |
|---|---|---|
| CancellationToken | ct | Cancellation token. |
Returns
| Type | Description |
|---|---|
| Task |
StopAsync(CancellationToken)
Stops the server asynchronously.
Declaration
Task StopAsync(CancellationToken ct)
Parameters
| Type | Name | Description |
|---|---|---|
| CancellationToken | ct | Cancellation token. |
Returns
| Type | Description |
|---|---|
| Task |