Creates a resilient subscription that uses WebSocket when available and transparently falls back to HTTP polling when WS is unavailable.
Unsubscribe function that cleans up all resources.
Creates a resilient subscription that uses WebSocket when available and transparently falls back to HTTP polling when WS is unavailable.