Table of Contents

Class MoongateHttpService

Namespace
Moongate.Server.Http
Assembly
Moongate.Server.Http.dll

Hosts a lightweight HTTP endpoint surface for diagnostics and admin APIs.

public sealed class MoongateHttpService : IMoongateHttpService, IMoongateService
Inheritance
MoongateHttpService
Implements
IMoongateService
Inherited Members

Constructors

MoongateHttpService(MoongateHttpServiceOptions)

public MoongateHttpService(MoongateHttpServiceOptions options)

Parameters

options MoongateHttpServiceOptions

Methods

StartAsync()

Starts the service lifecycle.

public Task StartAsync()

Returns

Task

A task that completes when startup logic has finished.

StopAsync()

Stops the service lifecycle.

public Task StopAsync()

Returns

Task

A task that completes when shutdown logic has finished.