Function ic_websocket_cdk::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.