Daniel Abramov
952b4b2410
Update to the new `tungstenite-rs`
5 years ago
Alexey Galakhov
09ba8d733f
Version 0.8.0 released.
...
Signed-off-by: Alexey Galakhov <agalakhov@snapview.de>
6 years ago
Alexey Galakhov
8b13cb7ad3
test: add autobahn tests
...
Signed-off-by: Alexey Galakhov <agalakhov@snapview.de>
6 years ago
Daniel Abramov
e2cdf11bc8
Update to the latest `tungstenite-rs` version
6 years ago
Daniel Abramov
4c60589773
Merge pull request #57 from dfaust/master
...
Depend on tungstenite master branch
6 years ago
Daniel Faust
334148fff5
Depend on tungstenite master branch
6 years ago
Alexey Galakhov
203fa0b2bd
Merge pull request #54 from nimiq/jeff/upstream_get_remote_address
...
Implement support to get the remote address
6 years ago
Jeffrey Esquivel S
eda57a012c
Implement support to get the peer address
6 years ago
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
7 years ago
Daniel Abramov
f4b1e78475
Update important dependencies
7 years ago
Alexey Galakhov
d43c61428e
Merge pull request #46 from snapview/update-dependencies
...
Update to the newest `tungstenite-rs` version
7 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
7 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