Quap
04/01/2023, 9:44 PMclose(CloseReason)
method, the connection is closed fine, but I never receive the text of the CloseReason in any browser. How can I make this work?Aleksei Tirman [JB]
04/03/2023, 9:12 AMNetwork
tab of a web browser?Quap
04/03/2023, 6:40 PMclose { target: WebSocket, isTrusted: true, wasClean: true, code: 1001, reason: "", srcElement: WebSocket, currentTarget: WebSocket, eventPhase: 2, bubbles: false, cancelable: false, … }
I would like to catch the reason in my web app, for displaying different UI states. For now the code/number will work, but I'm wondering why can't I get the reason text!?Aleksei Tirman [JB]
04/04/2023, 4:25 AM