coder / coder/websocket

Expose writeControl

Open
#414 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
5.5k
Forks
372
PR merge metrics
No merged PRs in 30d

Description

We all had to deal with weird external websocket configs, well the one I have the pleasure to deal with this time requires me to send a PONG frame every X seconds (there's no ping) to keep the connection alive.

It would be handy to expose writeControl for this.

Perhaps for the next version?

Cheers :heart:

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the existing writeControl implementation and the public connection API in this Go WebSocket repository. Check how control frames are tested, then expose the requested operation and add coverage showing that callers can send a PONG frame; done means the API is publicly usable for periodic PONG messages.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api, networking
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.