Yes, I saw your mentioned Merge Request.
In my example I am using 4000+ WebSocket close code what
according
https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent#Status_codes
description should be used for application specific purpose.
In my implementation I am not performing status
See also https://github.com/rails/rails/pull/29390 about using proper close
codes for WebSockets.
On Thu, Oct 4, 2018 at 1:45 PM, Artis Abolts wrote:
> WebSocket.close() method accept two optional parameters:
>
>
>1. code - A numeric value indicating the status code explaining why
>the
WebSocket.close() method accept two optional parameters:
1. code - A numeric value indicating the status code explaining why the
connection is being closed.
2. reason - A human-readable string explaining why the connection is
closing.
More info: