Dynamic class names? wssv.AddWebSocketService<DYNAMIC>("/dynamic");

Open
#561 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Start by reviewing the Wssv.AddWebSocketService("/dynamic") usage described in the issue and how the server currently receives service URLs. Then trace whether command-line arguments reach that registration point. Done would require a confirmed, maintainable way to create URL names dynamically, with the supported path format and usage documented.

Written by the indexing model from the issue text.

Description

Alright, so I know the answer in C# is no, don't do this, dynamic class names are not really a thing :) So let me ask another way, I would love to be able to pass the url in via command line arguments. Has anyone found a way where I can dynamically create url names? I would be ok with even doing /live/streamname/ style but can't seem to find a good path to do it.

Any suggestions? Thanks!

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.