UNPKG

@akanass/rx-socket-client

Version:

Reconnectable websocket client with RxJS Subject

13 lines 478 B
import { RxSocketClientSubject } from './rx-socket-client.subject'; /** * Returns new instance of RxSocketClientSubject * * @param {string | RxSocketClientConfig} urlConfigOrSource the source of the rxSocketClient as an url or * a structure defining the rxSocketClient object * * @return {RxSocketClientSubject} */ export function rxSocketClient(urlConfigOrSource) { return new RxSocketClientSubject(urlConfigOrSource); } //# sourceMappingURL=rx-socket-client.js.map