denoland / fastwebsockets

A fast RFC6455 WebSocket implementation
https://docs.rs/fastwebsockets/
Apache License 2.0
845 stars 61 forks source link

fix: Use correct `AsyncRead` bound in `after_handshake_split` #80

Closed matheus23 closed 3 months ago

matheus23 commented 3 months ago

Noticed that I can't pass my read stream into after_handshake_split, because it's not AsyncWrite. However, that bound is just incorrect and should be AsyncRead, a copy-and-paste error I assume.

Ran cargo test --all-features locally and it went through fine.