Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Close

Closes the ChannelClient. This closes the WebSocket client but not the Channel in the ChannelService. Other ChannelClient s can still connect on the same Channel.
Read time 1 minuteLast updated 10 days ago

Definition

Close()

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

Remarks

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

Close(string)

Closes the ChannelClient. This closes the WebSocket client but not the Channel in the ChannelService. Other ChannelClients can still connect on the same Channel.
public static void Close(string channelName)

Parameters

channelName

The name of the channel to close.

Remarks

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