Skip to content

Commit 181b36e

Browse files
committed
More status code godoc improvements
1 parent f8cc5a8 commit 181b36e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

frame.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,9 @@ const (
215215
// 1004 is reserved and so not exported.
216216
statusReserved StatusCode = 1004
217217

218-
// StatusNoStatusRcvd cannot be sent as reserved for when
219-
// a close message is received without an explicit status.
218+
// StatusNoStatusRcvd cannot be sent in a close message.
219+
// It is reserved for when a close message is received without
220+
// an explicit status.
220221
StatusNoStatusRcvd StatusCode = 1005
221222

222223
// StatusAbnormalClosure is only exported for use with Wasm.

0 commit comments

Comments
 (0)