How about we use WebSocket status code 4000 for when the relay wants to close the connection and doesn't want the client to try to connect again -- for example, because it requires payment and the client is not a paying user?
https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/402
Please Login to reply.
This is what I would use, unless there was a good reason not to.