API reference
Class DiscordAspNetCoreSelfHostRuntime
- Namespace
- DisCatSharp.Hosting.AspNetCore
- Assembly
- DisCatSharp.Hosting.AspNetCore.dll
Exposes the active runtime addresses for the optional self-hosted ASP.NET Core ingress mode.
public sealed class DiscordAspNetCoreSelfHostRuntime
- Inheritance
-
DiscordAspNetCoreSelfHostRuntime
- Inherited Members
Remarks
The runtime remains empty until the self-hosted ASP.NET Core app starts and is reset when it stops.
Properties
- ListenBaseUrl
Gets the bound listen base URL for the internal ASP.NET Core app when it is running.
- PublicBaseUrl
Gets the externally visible base URL for the self-hosted ingress surface when it is running.