Skip to content

beamable-sdk / configs/BeamServerConfig / ServerEventsConfig

Interface: ServerEventsConfig

Defined in: src/configs/BeamServerConfig.ts:41

Configuration options for server-events.

Properties

enabled?

optional enabled: boolean

Defined in: src/configs/BeamServerConfig.ts:46

Enables the server-events feature (gateway notifications over WebSocket).

Default

false

eventWhitelist?

optional eventWhitelist: ServerEventType[]

Defined in: src/configs/BeamServerConfig.ts:48

A list of server events to subscribe to. If not provided, all events will be subscribed to.