Function ic_websocket_cdk::close

source ·
pub fn close(client_principal: ClientPrincipal) -> CanisterCloseResult
Expand description

Closes the connection with the client.

This function must not be called in the on_close callback.