SHARDWIRE
ReferenceBridge APIs

AppBridgeOptions

Reference for `AppBridgeOptions`, exported as part of the public Shardwire surface.

interface exported from src/discord/types.ts.

Summary

Reference for AppBridgeOptions, exported as part of the public Shardwire surface.

Signature

export interface AppBridgeOptions {
	url: string;
	secret: string;
	secretId?: string;
	appName?: string;
	reconnect?: {
		enabled?: boolean;
		initialDelayMs?: number;
		maxDelayMs?: number;
		jitter?: boolean;
	};
	requestTimeoutMs?: number;
	logger?: ShardwireLogger;
	metrics?: AppBridgeMetricsHooks;
}

Structure

On this page