Skip to content
Typegatewayv0.7.5

GatewayPluginOptions

The options a gateway plugin declares, narrowed to the transport and runtime this base serves. A gateway connection is a websocket that needs a long-lived process.

type GatewayPluginOptions = TypedOmit<
    PluginOptions,
    "transport" | "runtime"
> & { transport?: "gateway"; runtime?: "server" };