You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice if Pushpin could automatically respond to ping messages rather than forwarding to the backend. Ideally this would work for not just literal PING frames, but also TEXT frames with ping-like content. Messages not considered to be pings should still be forwarded to the backend for handling.
The text was updated successfully, but these errors were encountered:
One way to achieve this in a generic way could be to introduce an "auto response" feature. The backend could send a control message telling Pushpin how to identify a certain kind of message, and what to respond with if such a message is identified. Then that feature could be used to set up an auto response for messages identified as pings.
The tricky part would be specifying how to identify messages. For an initial version, perhaps we could support only JSON content, and use something like JSON Pointer to describe what to expect. There is some precedence with using JSON Pointer in Pushpin already, in the session feature (undocumented).
It would be nice if Pushpin could automatically respond to ping messages rather than forwarding to the backend. Ideally this would work for not just literal PING frames, but also TEXT frames with ping-like content. Messages not considered to be pings should still be forwarded to the backend for handling.
The text was updated successfully, but these errors were encountered: