Class MorpheoWebServer
Embedded Web Server (Kestrel) hosting the Morpheo API.
Inheritance
MorpheoWebServer
Assembly: Morpheo.Core.dll
Syntax
public class MorpheoWebServer : IMorpheoServer
Constructors
|
Edit this page
View Source
MorpheoWebServer(MorpheoOptions, IServiceProvider)
Declaration
public MorpheoWebServer(MorpheoOptions options, IServiceProvider serviceProvider)
Parameters
Properties
|
Edit this page
View Source
LocalPort
Declaration
public int LocalPort { get; }
Property Value
Methods
|
Edit this page
View Source
StartAsync(CancellationToken)
Starts the server asynchronously.
Declaration
public Task StartAsync(CancellationToken ct)
Parameters
Returns
|
Edit this page
View Source
StopAsync(CancellationToken)
Stops the server asynchronously.
Declaration
public Task StopAsync(CancellationToken ct)
Parameters
Returns
Implements