Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

NetworkServerSimple.Disconnect

public void Disconnect(int connectionId);

Parameters

connectionId The id of the connection to disconnect.

Description

This disconnects the connection of the corresponding connection id.