coder / coder/websocket

docs: Demonstrate usage of CloseStatus and improve behaviour

Open
#406 1 comment 0 reactions 0 assignees View on GitHub
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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.