sta / sta/websocket-sharp

how to make the server send ping or pong requests to the client automatically

Open
#387 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
6.1k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

I learned that The WebSocket Protocol has Ping-Pong rules to ensure Server-Client connections,
and then I found there are some functions to do this in websocket-sharp project.
but I can not find where the Server begin to call these functions and how to make Server send Ping
requests to the Clients automatically? Need I write codes by myself?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the server-side entry points and the ping/pong functions mentioned in the issue, then trace whether the server invokes them automatically. Check the WebSocket Protocol expectations and the existing client and server behavior. Done means clearly documenting the supported behavior or defining the specific server change required.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend, networking
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.