coder / coder/websocket

Expose writeControl

Đang mở
#414 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement
Ngôn ngữ chính
Go
Star
5.5k
Fork
372
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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:

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
go
Lĩnh vực
api, networking
Loại issue
Tính năng
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.