API reference
Class DiscordIngressPublicUrls
- Namespace
- DisCatSharp.Hosting.AspNetCore.Routing
- Assembly
- DisCatSharp.Hosting.AspNetCore.dll
Represents the externally visible ASP.NET Core ingress URLs exposed by DisCatSharp.
public sealed class DiscordIngressPublicUrls
- Inheritance
-
DiscordIngressPublicUrls
- Inherited Members
Remarks
This helper resolves the package's public route surface from a base URL and the configured ASP.NET Core ingress options so deployment and validation code can share the same path logic.
Properties
- BaseUrl
Gets the base URL used to build the ingress surface.
- IncomingWebhooksUrl
Gets the public incoming webhooks URL.
- IngressRootPath
Gets the normalized public ingress root path.
- IngressRootUrl
Gets the public ingress root URL.
- InteractionsUrl
Gets the public interactions URL.
- OAuthCallbackUrl
Gets the public OAuth callback URL.
- RoleConnectionsVerificationUrl
Gets the public linked-roles verification URL when linked-roles support is configured.
- WebhookEventsUrl
Gets the public webhook events URL.
Methods
- Create(Uri, DiscordAspNetCoreIngressOptions?, DiscordLinkedRolesOptions?)
Creates a public URL snapshot from the supplied base URL and ingress options.