websockets-rs / rust-websocket

A WebSocket (RFC6455) library written in Rust
http://websockets-rs.github.io/rust-websocket/
MIT License
1.55k stars 223 forks source link

Splitting a client from Hyper upgrade? #150

Open idanarye opened 7 years ago

idanarye commented 7 years ago

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?

illegalprime commented 6 years ago

@idanarye sorry not as of yet, hyper needs to be upgraded past 0.10 for this to be possible :( This requires a whole lot of rework on my end that I haven't been able to get to (mostly parsing HTTP with a different library than hyper)