websockets-rs / websockets-rs/rust-websocket
Splitting a client from Hyper upgrade?
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 1.6k
- Forks
- 225
- PR merge metrics
- No merged PRs in 30d
Description
In order to be able to split() a client, it needs to implement Splittable. But HyperRequest is creating a client with a NetworkStream - which is not Splittable.
Is there any way around this?
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 HyperRequest and the sync Client::split and Splittable APIs, with particular attention to the NetworkStream type named in the issue. Determine whether the upgrade-created client can support splitting or whether the limitation requires an API design decision; done means documenting a confirmed workaround or a clearly scoped change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- networking
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100