ws
Last updated
Was this helpful?
Last updated
Was this helpful?
Creates a wrapped in an Observable. The Observable is a vanilla RxJS Observable which emits actions and exposes its API using [rxws operators](().
1.0
url<String>
: The URL of the Websocket server
topics[<String>]
: An array of the topics to which the WebSocket client should subscribe. Defaults to ['message']
.
Observable
. An RxJS Observable. This contains a stream of events. The websocket is intended to be used with rxws operators.
socketOptions
: An object containing .