Table of Contents

Class EndpointRouteBuilderExtensions

Namespace
NetCord.Hosting.AspNetCore
Assembly
NetCord.Hosting.AspNetCore.dll
public static class EndpointRouteBuilderExtensions
Inheritance
EndpointRouteBuilderExtensions
Inherited Members

Methods

UseHttpInteractions(IEndpointRouteBuilder, string)

Adds a route to the IEndpointRouteBuilder that will handle Discord interactions.

public static IEndpointConventionBuilder UseHttpInteractions(this IEndpointRouteBuilder endpoints, string pattern)

Parameters

endpoints IEndpointRouteBuilder

The IEndpointRouteBuilder to add the route to.

pattern string

The route pattern.

Returns

IEndpointConventionBuilder

A IEndpointConventionBuilder that can be used to further customize the endpoint.