ws-rs icon indicating copy to clipboard operation
ws-rs copied to clipboard

Lightweight, event-driven WebSockets for Rust.

Results 101 ws-rs issues
Sort by recently updated
recently updated
newest added

A MWE of it: ```rust use std::thread::{self, sleep}; extern crate ws; fn main() { // A client that sends tons of messages to the server thread::spawn(move || { let _...

While testing native-tls support I'm running into an issue on windows when running the basic client example: ``` thread 'main' panicked at 'Tried to access actively upgrading TlsStream', Z:\ws-rs\src\stream.rs:354:37 ```...

Cannot work on raspberrypi OS: Linux raspberrypi 6.1.21-v7+ #1642 SMP Mon Apr 3 17:20:52 BST 2023 armv7l GNU/Linux The server loop sends messages to the client. After the client is...

```rust // service use ws::listen; fn main() { // error code if let Err(err) = listen("[::]:3012", |out| { // correct code // if let Err(err) = listen("0.0.0.0:3012", |out| { move...

client connect fail,this is log and translated content. ``` WS Error [2023-02-17T18:13:20Z DEBUG ws::handshake] Built request from URL: GET / HTTP/1.1 Connection: Upgrade Host: 192.168.31.103:20426 Sec-WebSocket-Version: 13 Sec-WebSocket-Key: s7iLw5MghV4hhFW/gy4+sQ== Upgrade:...

only one token shutdown must one socket shutdown by not all shutdown

with: cargo run --features ssl --example cli ws://echo.websocket.org ws-rs can success connect. but with: cargo run --features ssl --example cli wss://echo.websocket.org display: Connecting to wss://echo.websocket.org and nothing else. p.s ws-rs...

question
Windows

Given that we haven't seen any activity from @housleyjk in a few months leading to a number of stuck PRs, and now the website's down, I think it's time a...

This PR introduces a `CappedBuffer` wrapper around a `Vec` which effectively enforces buffer capacity limits. Exceeding capacity limits will force a disconnect. There are changes to the settings involved, so...

I'm trying to send custom headers with the websocket connection but I can't figure out how. There was a previous issue that mentioned this (#43), however, all the links given...