socketio / socketio/socket.io

Get a list of all created Sockets

Open
#5,101 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement package:socket.io-client
Dominant language
TypeScript
Stars
63.2k
Forks
10.3k
Avg merge
11d 20h
Merged PRs (30d)
2

Description

You want to:
  • request a feature
Expected behaviour

There should be a global function to get a list of all created Sockets (where socket refers back to the thing io returns and not a thing that is wrapped by a manager). This is useful if you want to take action on all of them. My guess is this list is somewhere within the lib already and just needs to be exposed.

Contributor guide

Open the contributing guide

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 by locating the Socket creation code and the existing list or registry mentioned in lib. Determine how a global function could expose all created Socket instances, then verify that it returns the complete set and supports acting on each socket.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, typescript
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.