sta / sta/websocket-sharp

Get "Message Sender"'s Session ID

Open
#415 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

When the server receives a message from the client, I just want to get the information of the sender. What do I have to do in this situation?

Secondly;

ws = New WebSocketServer(12040)
ws.AddWebSocketService(Of MainSocket)("/")
ws.Start()

How can I broadcast after I create it like this?

ws.broadcast("Test")

there is no such function.

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 WebSocketServer and MainSocket entry points shown in the issue, then trace how AddWebSocketService and Start expose connected sessions and server actions. Confirm the supported way to obtain the sender's session ID and whether server-wide broadcasting is available; done means both requested operations have a documented or implemented entry point.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
api, backend
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.