How to get session in OnMessage()
Open
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 6.1k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
How can I get a reference to the Session object or its ID(which is a hash) from within a OnMessage() handler ?
I want to implement chat service where users chat to each other only - 1 on 1. Is there a suggested approach to that ?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the websocket-sharp API around the OnMessage handler and Session object, focusing on how session references or IDs are exposed. Document a suggested approach for identifying sessions and supporting one-to-one chat; the issue names no files or tests to run.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- networking
- Issue type
- Documentation
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100