Core
API v2.x
2

removeListener #

Stop listening to a specific event from the Debug Controller.


This only works using a Websocket connection since notification can only be sent on a persistent connection.

Query Syntax #

Websocket protocol #

Copied to clipboard!
{
  "controller": "debug",
  "action": "removeListener",
  "body": {
    "event": "<event name>"
  }
}
  • event: event name to stop listening to.

Response #

Copied to clipboard!
{
  "status": 200,
  "error": null,
  "controller": "debug",
  "action": "removeListener",
  "requestId": "<unique request identifier>",
}