On Client Connect or Disconnect
AMPS provides modules for running actions on the connection or disconnection of an AMPS client.
The amps-action-on-disconnect-client
runs actions once an AMPS client instance disconnects. The amps-action-on-connect-client
runs actions once an instance of an AMPS client successfully connects.
These modules require no parameters.
These modules add the following variables to the AMPS context:
Variable | Description |
---|---|
| The name of the AMPS client. (For the |
| The name of the AMPS connection. |
| The authentication ID of the AMPS connection (for |
Last updated