Search Results for

    Show / Hide Table of Contents

    Class MorpheoWebServer

    Embedded Web Server (Kestrel) hosting the Morpheo API.

    Inheritance
    object
    MorpheoWebServer
    Implements
    IMorpheoServer
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Morpheo.Core.Server
    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
    Type Name Description
    MorpheoOptions options
    IServiceProvider serviceProvider

    Properties

    | Edit this page View Source

    LocalPort

    Declaration
    public int LocalPort { get; }
    Property Value
    Type Description
    int

    Methods

    | Edit this page View Source

    StartAsync(CancellationToken)

    Starts the server asynchronously.

    Declaration
    public Task StartAsync(CancellationToken ct)
    Parameters
    Type Name Description
    CancellationToken ct

    Cancellation token.

    Returns
    Type Description
    Task
    | Edit this page View Source

    StopAsync(CancellationToken)

    Stops the server asynchronously.

    Declaration
    public Task StopAsync(CancellationToken ct)
    Parameters
    Type Name Description
    CancellationToken ct

    Cancellation token.

    Returns
    Type Description
    Task

    Implements

    IMorpheoServer
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2025 DEHER Rémi - Propulsé par .NET 10