core.medplumclient.fhircastconnect
Home > @medplum/core > MedplumClient > fhircastConnect
MedplumClient.fhircastConnect() method
Connects to a FHIRcast
session.
Signature:
fhircastConnect(subRequest: SubscriptionRequest): FhircastConnection;
Parameters
Parameter | Type | Description |
---|---|---|
subRequest | SubscriptionRequest | The SubscriptionRequest to use for connecting. |
Returns:
A FhircastConnection
which emits lifecycle events for the FHIRcast
WebSocket connection.