tungstenite-rs
tungstenite-rs copied to clipboard
Lightweight stream-based WebSocket implementation for Rust.
RFC 6455 4.2.1.5 says WebSocket servers are supposed to stop processing a client's handshake if the Sec-WebSocket-Key header doesn't have 16 bytes after decoding. It's one of the 4.2.1 "client...
This is to let you know that I’ve archived https://github.com/SimonSapin/rust-utf8, the source repository for https://crates.io/crates/utf-8 which you depend on. No action is required as I’m not planning the yank the...
`Error` returns duplicate information since the error source is included in *both* the `Display` and `Error::source`, for example logging errors with tracing produce the following: ``` 2022-11-04T19:05:01.777878Z WARN crate: error=websocket...
Updated some of the dependencies on the project
As requirement for usage of `arti-client`, added a flush method call in the `HandshakeMachine` writing round, to fix "handshake not completed" error. https://gitlab.torproject.org/tpo/core/arti/-/blob/9b1687894d8533b079fc36cec65c6b655474b761/crates/arti-client/examples/lazy-init.rs#L74
使用callback参数的示例里面的代码能修改Response ,但是Request只能读取。如果我想修改Request应该怎么做呢。
In #328, @kazk implemented support for the `permessage-deflate` extention. Implementing this extention required the ability to parse the `Sec-Websocket-Extentions` header, so @kazk submitted a [pull request to the `headers` crate](https://github.com/hyperium/headers/pull/88)....
I've been unable to figure out how, with tungstenite, to create an mTLS websockets client. My application requires mutual tls. Is this supported? If so, can you point me to...
It closes #443. > I found that currently the server side of tungstenite will directly drop the connection when encountering some handshake failures (the stream is moved into accept() so...