Alexey Galakhov
eb7b3df7c7
Merge pull request #53 from snapview/close-as-message
...
Introduce `Message::Close` support and return `Async::Ready(None)` when the stream is ended
6 years ago
Daniel Abramov
b9e6e59dce
Bump version
6 years ago
Daniel Abramov
7d2f0c9ffb
Return `Close` messages to the user
...
Solves #45 and #51
6 years ago
Daniel Abramov
1dcf833f6a
Merge pull request #48 from zargony/optional_tls_stream_type
...
Add `MaybeTlsStream` wrapper type for streams that might be protected with TLS
6 years ago
Daniel Abramov
b2eaf03876
Merge pull request #49 from jeffesquivels/update_comment
...
Update comment to reflect current code
6 years ago
Jeffrey Esquivel S
6c3b8a5137
Update comment to reflect current code
6 years ago
Andreas Neuhaus
430c06048d
Add `MaybeTlsStream` wrapper type for streams that optionally use TLS
...
Connecting to a URL wraps the connection into this wrapper type based
on the protocol of the URL (`ws:` or `wss:`). Making this type public
allows client applications to specify the websocket's type without
importing the tokio_tls crate.
6 years ago
Daniel Abramov
e3174bf2a2
Merge pull request #47 from mehcode/feature/upgrade-tokio
...
Update tokio-tls to 0.2 and replace fully tokio-core with tokio
6 years ago
Ryan Leckey
b9b6f2de5a
Update tokio-tls to 0.2 and replace fully tokio-core with tokio
6 years ago
Daniel Abramov
9f3b559555
Bump version
6 years ago
Daniel Abramov
f4b1e78475
Update important dependencies
6 years ago
Alexey Galakhov
d43c61428e
Merge pull request #46 from snapview/update-dependencies
...
Update to the newest `tungstenite-rs` version
6 years ago
Daniel Abramov
b61ed96561
Update to the newest `tungstenite-rs` version
...
* Fixes #35
* Replaces https://github.com/snapview/tokio-tungstenite/pull/40
* Gives a good background for https://github.com/snapview/tokio-tungstenite/pull/41
6 years ago
Daniel Abramov
8b3f811be7
Merge pull request #43 from slowtec/fix-42
...
fix tokio import
7 years ago
Markus Kohlhase
475486a0a1
fix tokio import
7 years ago
Daniel Abramov
9740711083
Merge pull request #39 from sbruton/master
...
upgrades tokio-dns-unofficial to fix nightly toolchain
7 years ago
Juan Crouton
55c2b7b396
upgrades tokio-dns-unofficial to fix nightly toolchain
7 years ago
Daniel Abramov
336bb2573b
Merge pull request #38 from Eroc33/master
...
Port to tokio reform
7 years ago
Euan Rochester
e2012633b4
Port to tokio reform
7 years ago
Daniel Abramov
6ac55ac555
Merge pull request #37 from bluetech/wsstream-without-handshake
...
Allow constructing WebSocketStream without performing a handshake
7 years ago
Ran Benita
0db773ab36
Allow constructing WebSocketStream without performing a handshake
...
Add wrappers around similar constructors for tungstenite::WebSocket.
These are useful when doing protocol upgrades in a hyper server, where
the handshake was already performed by the HTTP server.
7 years ago
Alexey Galakhov
ad8aa4c98a
Update dependencies and bump version
...
Version 0.5.1 released
Signed-off-by: Alexey Galakhov <agalakhov@snapview.de>
7 years ago
Alexey Galakhov
f1b61ea561
trivial: update dependencies
...
Signed-off-by: Alexey Galakhov <agalakhov@snapview.de>
7 years ago
Alexey Galakhov
370a10fc10
trivial: make tungstenite crate public
...
Signed-off-by: Alexey Galakhov <agalakhov@snapview.de>
7 years ago
Alexey Galakhov
d79ffb5750
connect: add function for stream upgrading
...
Signed-off-by: Alexey Galakhov <agalakhov@snapview.de>
7 years ago
Alexey Galakhov
da74321bc8
connect: parametrize AutoStream with Stream
...
Signed-off-by: Alexey Galakhov <agalakhov@snapview.de>
7 years ago
Daniel Abramov
16c4693c91
Implement `Stream::close` for WebSocket
7 years ago
Alexey Galakhov
50c218aac5
Version 0.4.0 released
7 years ago
Alexey Galakhov
77d4d5b66f
Update for Tungstenite 0.5.0
...
Signed-off-by: Alexey Galakhov <agalakhov@snapview.de>
7 years ago
Daniel Abramov
a5716829e7
Merge pull request #20 from Deedasmi/patch-1
...
Fixed a typo
7 years ago
Richard Petrie
8adb7c000a
Fixed a typo
7 years ago
Alexey Galakhov
f19722ec6b
Merge pull request #17 from snapview/tokio-updates
...
Update tokio and remove some warnings
7 years ago
Alexey Galakhov
cce4530f4f
Merge pull request #19 from nelsonjchen/patch-2
...
Change example server to use `unbounded_send()`
7 years ago
Daniel Abramov
f1030f27f9
Merge pull request #18 from nelsonjchen/patch-1
...
Fix Usage typo
7 years ago
Nelson Chen
0cd210cfcd
Change example server to use `unbounded_send()`
...
`send()` is deprecated
7 years ago
Nelson Chen
b0c2370093
Fix Usage typo
7 years ago
Daniel Abramov
2ac5971aab
Bump version
7 years ago
Daniel Abramov
c0ab50ba57
Remove deprecated futures features
7 years ago
Daniel Abramov
f9c3948c51
Replace redundant `Request` structure
...
Let's reuse the corresponding structure from tungstenite.
7 years ago
Alexey Galakhov
760a840392
Version 0.3.0 released.
...
Signed-off-by: Alexey Galakhov <agalakhov@snapview.de>
7 years ago
Alexey Galakhov
e08995087c
Update dependencies
7 years ago
Alexey Galakhov
49052ebd13
Update documentation and tungstenite versions
7 years ago
Alexey Galakhov
9b3a3a1967
Merge pull request #16 from snapview/headers
...
Updates the tokio-tungstenite code to match the latest tungstenite changes
7 years ago
Daniel Abramov
4d5f666662
Bump version
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
Daniel Abramov
035630ff23
Merge pull request #15 from spinda/tls-feature
...
Only enable tungstenite's "tls" feature when tokio-tungstenite's is enabled
7 years ago
Michael Smith
84ccf3e0b6
Control tungstenite/tls with tls feature
...
Previously tungstenite was always built with its "tls" feature enabled (thus
pulling down native-tls), even when the tls feature wasn't enabled on
tokio-tungstenite. Here we modify Cargo.toml to have tungstenite default to no
active features, then enable the tungstenite/tls feature with
tokio-tungstenite's tls feature. The default configuration remains the same.
7 years ago
Daniel Abramov
b2ed21f997
Merge pull request #14 from jasondavies/fix-typo
...
Fix typo.
7 years ago
Jason Davies
8b0fc1225a
Fix typo.
7 years ago
Daniel Abramov
9f4f235404
Forgotten update of README.md
8 years ago