Class HttpEventServiceCollectionExtensions
- Namespace
- NetCord.Hosting.AspNetCore
- Assembly
- NetCord.Hosting.AspNetCore.dll
public static class HttpEventServiceCollectionExtensions
- Inheritance
-
HttpEventServiceCollectionExtensions
- Inherited Members
Methods
AddHttpInteractionProcessor(IServiceCollection)
Adds an IHttpInteractionProcessor to the specified IServiceCollection.
public static IServiceCollection AddHttpInteractionProcessor(this IServiceCollection services)
Parameters
servicesIServiceCollectionThe IServiceCollection to add the IHttpInteractionProcessor to.
Returns
- IServiceCollection
A reference to this instance after the operation has completed.
AddWebhookEventProcessor(IServiceCollection)
Adds an IWebhookEventProcessor to the specified IServiceCollection.
public static IServiceCollection AddWebhookEventProcessor(this IServiceCollection services)
Parameters
servicesIServiceCollectionThe IServiceCollection to add the IWebhookEventProcessor to.
Returns
- IServiceCollection
A reference to this instance after the operation has completed.