Webhooks allow your server to be notified about events occurring within Channels.
You can activate webhooks in your account dashboard on a per Pusher application basis.
There is a delay of up to three seconds between a client disconnecting and channel_vacated or member_removed webhooks being sent. If the client reconnects within this delay, no webhooks will be sent.