CloseHandler: (event: CloseEvent) => void

Handler for WebSocket close event.

Type declaration

    • (event: CloseEvent): void
    • Parameters

      • event: CloseEvent

      Returns void