This module provides commonly used client request functionality.

It is available only on Snipe Kit server.

kit/user.ping

Returns the empty response to client ping request.

Output:

  • errorCode - String. Operation error code.

Error codes:

  • ok - Operation successful.

kit/user.logout

Immediately disconnects this client.

Output:

  • No response is sent.

Constructor

Methods