public void Close ();
public static void Close (string channelName);

Parameters

channelNameThe name of the channel to close.

Description

Closes the ChannelClient. This closes the WebSocket client but not the Channel in the ChannelService. Other ChannelClients can still connect on the same Channel.

For information about closing a channel permanently, see ChannelService.CloseChannel.