ws_close

Function ws_close 

Source
pub fn ws_close(args: CanisterWsCloseArguments) -> CanisterWsCloseResult
Expand description

Handles the WS connection close event received from the WS Gateway.

If you want to close the connection with the client in your logic, use the close function instead.