When the client disconnects for any reason, Pushpin will make a POST request to the specified URL with an empty body. It will expect an empty response. The notification is best-effort: if the request fails for any reason, it will not be retried. It is also not guaranteed to occur, for example if Pushpin is shut down while clients are connected.
This introduces a way to send notifications when HTTP subscribers disconnect. Backends can supply a
gone
link in a response header:When the client disconnects for any reason, Pushpin will make a
POST
request to the specified URL with an empty body. It will expect an empty response. The notification is best-effort: if the request fails for any reason, it will not be retried. It is also not guaranteed to occur, for example if Pushpin is shut down while clients are connected.