docs: Demonstrate usage of CloseStatus and improve behaviour
Open
docs
enhancement
- Dominant language
- Go
- Stars
- 5.5k
- Forks
- 372
- PR merge metrics
- No merged PRs in 30d
Description
See https://github.com/nhooyr/websocket/discussions/380
People need a way to avoid logging normally closed connections.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the linked discussion at https://github.com/nhooyr/websocket/discussions/380 and trace how CloseStatus is intended to be used. Clarify the expected handling of normally closed connections, then document the usage and verify that normal closures can avoid being logged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- networking
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100