sta / sta/websocket-sharp

How to close an existing connection from the server/client

Open
#623 0 comments 0 reactions 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

Hi,
Is there a means for closing an existing connection from server side?
I have a scenario where clients must be allowed to stay connected for a number of hours, or are allowed to transfer up to a maximum number of bytes, and should then be disconnected, being this controlled from server side. Is there a way for achieving this without sully shutting down the server?
Regards,

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

The issue names no files, tests, or entry points. Start by locating the server and client connection lifecycle APIs and their existing shutdown controls. Done means determining whether one connection can be closed without stopping the server and documenting the supported path or identifying the implementation gap.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
networking
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.