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
|
2 years ago |
Alex Butler
|
0203a1849b
|
Remove send_queue, use out_buffer instead
|
2 years ago |
Daniel Abramov
|
42b8797e8b
|
Revert "Add `permessage-deflate` support"
This reverts commit edb2377540 .
See https://github.com/snapview/tungstenite-rs/pull/328#issuecomment-1480349206
|
2 years ago |
kazk
|
edb2377540
|
Add `permessage-deflate` support
|
2 years ago |
Josiah Bull
|
1c657d4c6a
|
feat: switched response type from Vec<u8> to Option<Vec<u8>> to allow returning of differentiation of no body from empty body.
|
2 years ago |
Josiah Bull
|
36ab770059
|
feat: error type returns `Vec<u8>` instead of `Option<String>`
|
2 years ago |
Kirill A. Khalitov
|
469aaf37be
|
feature: Raw fragment message
|
3 years ago |
Dominik Nakamura
|
32450ae5af
|
Add a connector to configure TLS config
|
3 years ago |
Adam Bezecny (DHL IT Services)
|
9f292d21fc
|
minor fixes
|
4 years ago |
Adam Bezecny (DHL IT Services)
|
a9adb42343
|
server_allow_unmasked changed from Option<bool> to bool
|
4 years ago |
Adam Bezecny (DHL IT Services)
|
0121bf9682
|
WebSocketConfig extended to allow accepting unmasked client frames
|
4 years ago |
Daniel Abramov
|
96d9eb75e5
|
chore: apply `fmt` to the whole project
|
4 years ago |
Alexey Galakhov
|
010266e001
|
test: autobahn: add strict error reporting
Signed-off-by: Alexey Galakhov <agalakhov@snapview.de>
|
5 years ago |
Sebastian Dröge
|
88760b8b59
|
Fix various clippy warnings
|
5 years ago |
Sebastian Dröge
|
f659af4493
|
Update examples to compile again
|
5 years ago |
Artem Vorotnikov
|
cbf80ecc76
|
Edition 2018, formatting, clippy fixes
|
5 years ago |
Alexey Galakhov
|
758c522b31
|
travis: add automated autobahn tests
Signed-off-by: Alexey Galakhov <agalakhov@snapview.de>
|
6 years ago |
Alexey Galakhov
|
f4769a950c
|
example: trivial: init logger in server example
Signed-off-by: Alexey Galakhov <agalakhov@snapview.de>
|
6 years ago |
Alexey Galakhov
|
6f132208ee
|
server: let callback return HTTP error messages
Signed-off-by: Alexey Galakhov <agalakhov@snapview.de>
|
6 years ago |
Daniel Abramov
|
c8c3d6290d
|
Make `Close` part of the `Message` enum
|
6 years ago |
Daniel Abramov
|
3a58069db2
|
Create helpers for config-like functions
As suggested by @agalakhov
|
7 years ago |
Daniel Abramov
|
00303fa60c
|
Make the websocket configurable
|
7 years ago |
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.
|
7 years ago |
Alexey Galakhov
|
3091d11566
|
callback static dispatch
Signed-off-by: Alexey Galakhov <agalakhov@snapview.de>
|
7 years ago |
Daniel Abramov
|
41dfc3c506
|
Add server.rs example to the examples section
|
8 years ago |
Daniel Abramov
|
5982d4094d
|
Update README and examples
|
8 years ago |
Daniel Abramov
|
44a15c9eab
|
Implements #6 (client/server headers access)
|
8 years ago |
Daniel Abramov
|
f34c488217
|
Add basic support for examining headers (#6)
|
8 years ago |
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
|
8 years ago |
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>
|
8 years ago |
Alexey Galakhov
|
ac580a666b
|
Reexport useful components
Signed-off-by: Alexey Galakhov <agalakhov@snapview.de>
|
8 years ago |
Alexey Galakhov
|
b7557f1baa
|
refactor: make handshake completely async
|
8 years ago |
Alexey Galakhov
|
345501d5f7
|
trivial: rename agent to "Tungstenite"
|
8 years ago |
Alexey Galakhov
|
838c8e7ea8
|
Rename the library to "tungstenite"
|
8 years ago |
Alexey Galakhov
|
7dccc51277
|
server: implement server
|
8 years ago |
Alexey Galakhov
|
caba37c41e
|
trivial: fix client example
|
8 years ago |
Alexey Galakhov
|
e63f594a14
|
Initial commit, mostly working client
|
8 years ago |