The type of data expected in the stream messages
The WebSocket base instance
The stream identifier
Optionalid: string | number
Optional additional identifier
OptionalurlPath: string
Optional 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.