core.reconnectingwebsocket._constructor_
Home > @medplum/core > ReconnectingWebSocket > (constructor)
ReconnectingWebSocket.(constructor)
Constructs a new instance of the ReconnectingWebSocket
class
Signature:
constructor(url: string, protocols?: ProtocolsProvider, options?: Options<WS>);
Parameters
Parameter | Type | Description |
---|---|---|
url | string | |
protocols | (Optional) | |
options | Options<WS> | (Optional) |