core.iwebsocket.close
Home > @medplum/core > IWebSocket > close
IWebSocket.close() method
Signature:
close(code?: number, reason?: string): void;
Parameters
Parameter | Type | Description |
---|---|---|
code | number | (Optional) |
reason | string | (Optional) |
Returns:
void