Creates a WebSocket stream handler for managing stream subscriptions and callbacks.
The type of data expected in the stream messages
The WebSocket base instance
The stream identifier
Optional
Optional additional identifier
A stream handler with methods to register callbacks and unsubscribe
Creates a WebSocket stream handler for managing stream subscriptions and callbacks.