Comments (1)
@rohitcelestial: Did you see this guide?
It seems you can send Sender
to another thread and then send messages from that thread. Because ws.rs
is callback-based, the callback you defined will still receive new messages.
It seems there is a bug when the WebSocket was closed and further messages are sent: #316
from ws-rs.
Related Issues (20)
- ws-rs fork HOT 13
- Sender sends messages to closed websocket
- https://ws-rs.org/ - Domain name expired on 8th april
- ws-rs.org results in a parked domain HOT 4
- Error: WS Error <Io(Custom { kind: Other, error: "unexpected EOF" })>
- Guide and Homepage links on crates.io page Send to Spam Sites HOT 1
- How to return a ws::Handler trait object by the `factory` param of ws::connect?
- ws-rs.org is down (has expired and is up for sale) HOT 1
- ws-rs.org/guide redirected me to a scam webiste (link found in the readme) HOT 7
- DeflateHandler no longer works with newer versions of rustc
- Messages sent just before shutdown never go out
- how to set header,thanks
- tag missing for release v0.9.2 HOT 1
- Update dependencies HOT 1
- SSL feature is not enabled. HOT 1
- Does "connect" not support ipv6?
- WS Error <Io(Os { code: 10057, kind: NotConnected, message: "The request to send or receive data did not Accepted." })>
- Encountered an error: broken pipe
- Server blocks itself after resending multiple messages HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ws-rs.