How to send a custom message and receive a custom message

Open
#149 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

The issue names no repository files, tests, or entry points; begin by locating the websocket-sharp client implementation and its message-handling API. Compare that API with the socket.io receive and send examples in the report, then define the expected custom-message behavior before determining what would count as complete.

Written by the indexing model from the issue text.

Description

I am not able to figure out how to send and receive custom message in client implementation of websocket-sharp. By custom message I mean to do something equivalent of what I use to do on socket.io using following lines of code:

Receive:
socket_connection.on('custom_message_topic', function (obj) {});

or Send:

socket_connection.emit('custom_message_topic', "Hiii");

Any pointers on this would be appreciated.

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

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.

More from sta/websocket-sharp

All issues in sta/websocket-sharp

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.