pub fn close(client_principal: ClientPrincipal) -> CanisterCloseResultExpand description
Closes the connection with the client.
This function must not be called in the on_close callback.
pub fn close(client_principal: ClientPrincipal) -> CanisterCloseResultCloses the connection with the client.
This function must not be called in the on_close callback.