Commit Graph

21 Commits

Author SHA1 Message Date
n4n5 c21281abbc
Make url as feature and bump version (#419)
* make url usage as feature

* bump version

* fix: clearer test

* Update Cargo.toml

Co-authored-by: Daniel Abramov <inetcrack2@gmail.com>

* Update CHANGELOG.md

Co-authored-by: Daniel Abramov <inetcrack2@gmail.com>

---------

Co-authored-by: Daniel Abramov <inetcrack2@gmail.com>
2024-05-13 21:57:54 +02:00
Alex Butler 84a54b76e6 Rename methods to `read`, `send`, `write` & `flush`
Refine docs
Add `send` method
Add deprecated versions of write_message, write_pending,
read_message
Handle pong WriteBufferFull error
Add changelog
2023-05-27 13:19:13 +01:00
Daniel Abramov 42b8797e8b Revert "Add `permessage-deflate` support"
This reverts commit edb2377540.

See https://github.com/snapview/tungstenite-rs/pull/328#issuecomment-1480349206
2023-03-23 00:15:53 +01:00
kazk edb2377540 Add `permessage-deflate` support 2023-03-18 12:36:01 +01:00
Kirill A. Khalitov 469aaf37be feature: Raw fragment message 2021-11-22 20:33:42 +03:00
Daniel Abramov 96d9eb75e5 chore: apply `fmt` to the whole project 2020-11-17 12:40:52 +01:00
Alexey Galakhov 010266e001 test: autobahn: add strict error reporting
Signed-off-by: Alexey Galakhov <agalakhov@snapview.de>
2020-01-13 22:22:42 +01:00
Sebastian Dröge 88760b8b59 Fix various clippy warnings 2019-11-24 18:05:40 +01:00
Artem Vorotnikov cbf80ecc76
Edition 2018, formatting, clippy fixes 2019-08-26 21:05:24 +03:00
Daniel Abramov c8c3d6290d Make `Close` part of the `Message` enum 2019-02-07 14:26:16 +01:00
Daniel Abramov 3a58069db2 Create helpers for config-like functions
As suggested by @agalakhov
2018-06-26 11:12:57 +02:00
Daniel Abramov 00303fa60c Make the websocket configurable 2018-05-25 10:41:16 +02:00
Sean Schwartz 66d2c15f2d Derive Debugs
Deny missing debug and resolve resulting errors to satisfy:
https://rust-lang-nursery.github.io/api-guidelines/debuggability.html#all-public-types-implement-debug-c-debug

Requires updated input_buffer pushed to crates.io:
 - Resolved build errors by using github version of code until new version available on crates.io

Upgrade env_logger dev-dependency to v0.5.3
 - Removed unwrap call from env_logger::init()  as it is no longer needed.
2018-01-21 10:36:48 -06:00
Daniel Abramov f34c488217 Add basic support for examining headers (#6) 2017-07-28 14:35:42 +02:00
Alex Crichton 9f6f42766e Add `Ping` and `Pong` variants to `Message`
This'll allow removal/deprecation of the `send_ping` custom method but also
allow applications to react to `Pong` messages as appropriate.

Closes #16
2017-07-25 14:36:42 -07:00
Alexey Galakhov 66e30b2767 Return close frame with ConnectionClosed
This is a breaking change, thus bump the API version.

Closes: #10

Signed-off-by: Alexey Galakhov <agalakhov@snapview.de>
2017-04-03 21:21:28 +02:00
Alexey Galakhov ac580a666b Reexport useful components
Signed-off-by: Alexey Galakhov <agalakhov@snapview.de>
2017-03-17 15:57:12 +01:00
Alexey Galakhov b7557f1baa refactor: make handshake completely async 2017-03-13 19:17:05 +01:00
Alexey Galakhov 345501d5f7 trivial: rename agent to "Tungstenite" 2017-02-03 22:15:17 +01:00
Alexey Galakhov 838c8e7ea8 Rename the library to "tungstenite" 2017-02-01 10:01:08 +01:00
Alexey Galakhov e63f594a14 Initial commit, mostly working client 2017-01-30 10:22:39 +01:00