sta / sta/websocket-sharp

How to send additional data with file like HTTP post fields?

Open
#545 2 comments 0 reactions 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

Thx to all devs for this very useful library.
Can some one help me with my feature ?
I'd like to send some additional fields while sending a file to the server.
For example I need to send original file name with file it self.

For HTTP there are "multipart/form-data"
with this you can easy send files with some regular post params
I need some similar for websockets, is thera a way to do it ?

Please, how can I do it?

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

The issue names no file, test, or entry point and asks whether an additional field can accompany a file over WebSockets. Start by locating the library's client and server send APIs and protocol documentation; the work is not ready until the desired API, supported data format, and acceptance tests are defined.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.