close method
Close a connection to the socket, referenced by its connectionId
.
Implementation
Future<void> close(String connectionId) async {
var req = $wp.WebsocketCloseConnectionRequest(
socketName: name, connectionId: connectionId);
await ClientChannelSingleton.useClient($wp.WebsocketClient.new,
(client) async => await client.closeConnection(req));
}