events

open fun events(token: Token): EventSourceFactory

Subscribes to server-side events.

Return

an event source factory

Parameters

token

a valid token

Throws

if token is blank