Function OnWebsocketConnectionClosed

  • Methods annotated with this decorator will be called when a client closes the WebSocket connection.

    Parameters

    • target: any
    • propertyKey: string

    Returns void

    Example

    Method annotation:

    @OnWebsocketConnectionClosed
    function onClosed(conn: WebsocketConnection) { ... }

Generated using TypeDoc