Module: disconnect

The server invokes this module each time a websocket connection is disconnected
Version:
  • 1.0.0
Author:
  • Marzavec ( https://github.com/marzavec )
Source:

Methods

(static) run(env) → {void}

Executes when invoked by a remote client
Parameters:
Name Type Description
env Object Environment object with references to core, server, socket & payload
Source:
Returns:
Type
void

Type Definitions

disconnect/info

Module meta information
Type:
  • Object
Properties:
Name Type Description
name string Module command name
category string Module category name
description string Information about module
usage string Information about module usage
Source:

disconnect/requiredData

The following payload properties are required to invoke this module: "cmdKey"
Type:
  • Array
Source: