Table of Contents

Class HttpEventHostBuilderExtensions

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

Methods

UseHttpInteractionHandlerInvoker(IHostBuilder)

Adds an IHttpInteractionHandlerInvoker to the specified IHostBuilder.

public static IHostBuilder UseHttpInteractionHandlerInvoker(this IHostBuilder builder)

Parameters

builder IHostBuilder

The IHostBuilder to add the IHttpInteractionHandlerInvoker to.

Returns

IHostBuilder

A reference to this instance after the operation has completed.

UseHttpInteractionParser(IHostBuilder)

Adds an IHttpInteractionParser to the specified IHostBuilder.

public static IHostBuilder UseHttpInteractionParser(this IHostBuilder builder)

Parameters

builder IHostBuilder

The IHostBuilder to add the IHttpInteractionParser to.

Returns

IHostBuilder

A reference to this instance after the operation has completed.

UseHttpInteractionProcessor(IHostBuilder)

Adds an IHttpInteractionProcessor to the specified IHostBuilder.

public static IHostBuilder UseHttpInteractionProcessor(this IHostBuilder builder)

Parameters

builder IHostBuilder

The IHostBuilder to add the IHttpInteractionProcessor to.

Returns

IHostBuilder

A reference to this instance after the operation has completed.

UseWebhookEventHandlerInvoker(IHostBuilder)

Adds an IWebhookEventHandlerInvoker to the specified IHostBuilder.

public static IHostBuilder UseWebhookEventHandlerInvoker(this IHostBuilder builder)

Parameters

builder IHostBuilder

The IHostBuilder to add the IWebhookEventHandlerInvoker to.

Returns

IHostBuilder

A reference to this instance after the operation has completed.

UseWebhookEventParser(IHostBuilder)

Adds an IWebhookEventParser to the specified IHostBuilder.

public static IHostBuilder UseWebhookEventParser(this IHostBuilder builder)

Parameters

builder IHostBuilder

The IHostBuilder to add the IWebhookEventParser 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

builder IHostBuilder

The IHostBuilder to add the IWebhookEventProcessor to.

Returns

IHostBuilder

A reference to this instance after the operation has completed.