(Incoming) Close reason

Usage

The "close@reason" event notifies you why we disconnect your connection. When possible, we will send you a reason when your server is disconnected from our servers.

WebSocket event

You will receive an event with the following name and data:

Event name: close@reason

No response required

Event data received

KeyTypeDescription
reasonstringWarn reason

Example

{
  "reason": "You sent an unknown event. Please contact iPear support."
}

What's next?

Mmmh.. you're done for now, congrats!

Powered by Doctave