Skip to content

Commit f8cc5a8

Browse files
committed
Improve status code godoc further
1 parent a5e4e90 commit f8cc5a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frame.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,8 @@ type StatusCode int
204204
// These codes were retrieved from:
205205
// https://www.iana.org/assignments/websocket/websocket.xhtml#close-code-number
206206
//
207-
// In addition to the defined constants, 4000-4999 are reserved for arbitrary
208-
// use by applications.
207+
// The defined constants only represent the status codes registered with IANA.
208+
// The 4000-4999 range of status codes is reserved for arbitrary use by applications.
209209
const (
210210
StatusNormalClosure StatusCode = 1000
211211
StatusGoingAway StatusCode = 1001

0 commit comments

Comments
 (0)