Readonly
authenticatedReadonly
challengeReadonly
connectedReadonly
noticesCreates an Observable, that when subscribed to, sends a message,
defined by the subMsg
function, to the server over the socket to begin a
subscription to data over that socket. Once data arrives, the
messageFilter
argument will be used to select the appropriate data for
the resulting Observable. When finalization occurs, either due to
unsubscription, completion, or error, a message defined by the unsubMsg
argument will be sent to the server over the WebSocketSubject.
A function to generate the subscription message to be sent to the server. This will still be processed by the serializer in the WebSocketSubject's config. (Which defaults to JSON serialization)
A function to generate the unsubscription message to be sent to the server at finalization. This will still be processed by the serializer in the WebSocketSubject's config.
A predicate for selecting the appropriate messages from the server for the output stream.
Send an EVENT message with retries
Optional
opts: { retries?: number }Send a REQ message
Optional
id: stringSend a REQ message with retries
Optional
opts: { id?: string; retries?: number }Open a subscription with retries
Optional
opts: { id?: string; retries?: number }
Send an AUTH message