The type of data expected in the stream messages
The WebSocket base instance
The stream identifier
Optionalid: string | numberOptional additional identifier
OptionalurlPath: stringOptional URL path for the stream
A stream handler with methods to register callbacks and unsubscribe
Creates a WebSocket stream handler for managing stream subscriptions and callbacks.