Table of Contents

Class GatewayHandlerHostExtensions

Namespace
NetCord.Hosting.Gateway
Assembly
NetCord.Hosting.dll
public static class GatewayHandlerHostExtensions
Inheritance
GatewayHandlerHostExtensions
Inherited Members

Methods

UseGatewayHandlers(IHost)

Registers all IGatewayHandler services to the GatewayClient.

public static IHost UseGatewayHandlers(this IHost host)

Parameters

host IHost

The IHost instance.

Returns

IHost

The IHost instance.

UseShardedGatewayHandlers(IHost)

Registers all IShardedGatewayHandler services to the ShardedGatewayClient.

public static IHost UseShardedGatewayHandlers(this IHost host)

Parameters

host IHost

The IHost instance.

Returns

IHost

The IHost instance.