Class HttpEventHostBuilderExtensions
- Namespace
- NetCord.Hosting.AspNetCore
- Assembly
- NetCord.Hosting.AspNetCore.dll
public static class HttpEventHostBuilderExtensions
- Inheritance
-
HttpEventHostBuilderExtensions
- Inherited Members
Methods
UseHttpInteractionProcessor(IHostBuilder)
Adds an IHttpInteractionProcessor to the specified IHostBuilder.
public static IHostBuilder UseHttpInteractionProcessor(this IHostBuilder builder)
Parameters
builderIHostBuilderThe IHostBuilder to add the IHttpInteractionProcessor to.
Returns
- IHostBuilder
A reference to this instance after the operation has completed.
UseWebhookEventProcessor(IHostBuilder)
Adds an IWebhookEventProcessor to the specified IHostBuilder.
public static IHostBuilder UseWebhookEventProcessor(this IHostBuilder builder)
Parameters
builderIHostBuilderThe IHostBuilder to add the IWebhookEventProcessor to.
Returns
- IHostBuilder
A reference to this instance after the operation has completed.