pub fn ws_close(args: CanisterWsCloseArguments) -> CanisterWsCloseResultExpand 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.