Cheng JIANG
3d668b5b8f
use re-expored tungstenite
5 years ago
Mark Lodato
70c77160a9
Update example to not broadcast close messages.
...
In the event that the client sends a close message,
it is broadcast to other clients closing them as well.
5 years ago
Mark Lodato
6bffd862b6
Updates example commands to include async features
...
Due to the error: "target `XXX` in package `async-tungstenite`
requires the features: `async-std-runtime`".
Also updated the echo-server example command to start echo-server
instead of server.
5 years ago
Erich Gubler
d4eea7211c
build(deps): minimize unnecessary dependencies by using `futures-{channel,io,util}` directly instead of `futures` outside of tests/examples
5 years ago
Daniel Abramov
c02a5399b2
examples: improve server example
5 years ago
Nathan Torchia
744c7fd124
Added server example
5 years ago
Daniel Abramov
4a71349d38
Clean up examples
5 years ago
Sebastian Dröge
e86a2f4ae7
Remove WebSocketStream::send()
...
The same functionality is already provided via StreamExt::send() and
unlike the custom implementation it handles WouldBlock correctly and not
as an error.
5 years ago
Atul Bhosale
eb2c63ee73
Format code using 'cargo fmt'
5 years ago
Danny Browning
3ccd307be3
Update to work on stable
5 years ago
Sebastian Dröge
b76d8cbc03
Port/rename to async-std / async-tungstenite
5 years ago
Danny Browning
3821e0952a
Tokio 0.2 Conversion
...
Update to use tokio 0.2 ecosystem to integrate with tungstenite.
5 years ago
Artem Vorotnikov
9bd5f01784
Upgrade to Rust 2018, format the code
5 years ago
Jeffrey Esquivel S
eda57a012c
Implement support to get the peer address
6 years ago
Jeffrey Esquivel S
6c3b8a5137
Update comment to reflect current code
6 years ago
Euan Rochester
e2012633b4
Port to tokio reform
7 years ago
Alexey Galakhov
77d4d5b66f
Update for Tungstenite 0.5.0
...
Signed-off-by: Alexey Galakhov <agalakhov@snapview.de>
7 years ago
Richard Petrie
8adb7c000a
Fixed a typo
7 years ago
Nelson Chen
0cd210cfcd
Change example server to use `unbounded_send()`
...
`send()` is deprecated
7 years ago
Daniel Abramov
c0ab50ba57
Remove deprecated futures features
7 years ago
Daniel Abramov
b0ad00230b
Adapts tokio-tungstenite to tungstenite/headers
...
Basically changes the code of tokio-tungstenite to match the latest
(current) status of tungstenite-rs. Fixes #13 , fixes #9 , fixes #6 .
7 years ago
pyros2097
b621d9f213
Fix example not working
8 years ago
Alexey Galakhov
4b646308be
refactor: use asyncronous handshakes
8 years ago
Daniel Abramov
65aac6664e
Add examples on how to use the library
8 years ago