We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5e4e90 commit f8cc5a8Copy full SHA for f8cc5a8
frame.go
@@ -204,8 +204,8 @@ type StatusCode int
204
// These codes were retrieved from:
205
// https://www.iana.org/assignments/websocket/websocket.xhtml#close-code-number
206
//
207
-// In addition to the defined constants, 4000-4999 are reserved for arbitrary
208
-// use by applications.
+// The defined constants only represent the status codes registered with IANA.
+// The 4000-4999 range of status codes is reserved for arbitrary use by applications.
209
const (
210
StatusNormalClosure StatusCode = 1000
211
StatusGoingAway StatusCode = 1001
0 commit comments