Class DiscordAspNetCoreIngressOptions
- Namespace
- DisCatSharp.Hosting.AspNetCore
- Assembly
- DisCatSharp.Hosting.AspNetCore.dll
Configures the public ASP.NET Core route surface for DisCatSharp web ingress.
public sealed class DiscordAspNetCoreIngressOptions
- Inheritance
-
DiscordAspNetCoreIngressOptions
- Inherited Members
Remarks
These options control only the ASP.NET Core-facing route layout. The default shape is
/discord/oauth/callback, /discord/interactions, and /discord/webhooks/*.
Fields
- DefaultIncomingWebhooksPath
The default route segment for incoming webhook endpoints.
- DefaultInteractionsPath
The default route segment for the interactions endpoint.
- DefaultOAuthCallbackPath
The default route segment for the OAuth callback endpoint.
- DefaultOAuthPath
The default route segment for OAuth-related ingress endpoints.
- DefaultRoutePrefix
The default route prefix used for DisCatSharp ingress endpoints.
- DefaultWebhookEventsPath
The default route segment for webhook event endpoints.
- DefaultWebhooksPath
The default route segment for webhook-related ingress endpoints.
Properties
- IncomingWebhooksPath
Gets or sets the route segment used for incoming webhook endpoints.
- InteractionsPath
Gets or sets the route segment used for the Discord interactions endpoint.
- OAuthCallbackPath
Gets or sets the route segment used for the OAuth callback endpoint.
- OAuthPath
Gets or sets the route segment used for OAuth-related endpoints.
- RoutePrefix
Gets or sets the root route prefix used by MapDisCatSharpIngress(IEndpointRouteBuilder).
- WebhookEventsPath
Gets or sets the route segment used for webhook event endpoints.
- WebhooksPath
Gets or sets the route segment used for webhook-related endpoints.