Sebastian Dröge
c3aff4ae9e
Update to bytes 0.5 and input_buffer 0.3
5 years ago
Sebastian Dröge
c2f713b6bb
Update to http 0.2
5 years ago
Alexey Galakhov
1da9614ab2
Merge pull request #97 from alfiedotwtf/master
...
Minor grammar fix
5 years ago
Alfie John
7ca9bd6f2f
Minor grammar fix
5 years ago
Daniel Abramov
345d262972
Merge pull request #93 from sdroege/http-types
...
Base HTTP-types (request, headers, response, status code, etc) on the ones from the http crate
5 years ago
Sebastian Dröge
e1a5153f40
Bump version to 0.10.0 because of API changes
5 years ago
Sebastian Dröge
88760b8b59
Fix various clippy warnings
5 years ago
Sebastian Dröge
7a4779b6f6
Run everything through rustfmt
5 years ago
Sebastian Dröge
f659af4493
Update examples to compile again
5 years ago
Sebastian Dröge
07d4721ffd
Add type aliases for Response/Request with a fixed body type
...
Simplifies correct usage of the API.
5 years ago
Sebastian Dröge
1ecc4f900d
Use Response for the server handshake callback too
...
And add a public create_response(&Request) function that creates an
initial response. This can be used to simplify integration into existing
HTTP libraries.
5 years ago
Sebastian Dröge
09a9b7ceef
Remove custom Request/Response types from server code
...
Fixes https://github.com/snapview/tungstenite-rs/issues/92
5 years ago
Sebastian Dröge
9020840f84
Remove custom Request/Response types from client code
...
Fixes https://github.com/snapview/tungstenite-rs/issues/92
5 years ago
Sebastian Dröge
38a7d1a375
Remove custom Headers type and use http::HeaderMap instead
...
Fixes https://github.com/snapview/tungstenite-rs/issues/92
5 years ago
Alexey Galakhov
bb801430c8
Bump version
...
Signed-off-by: Alexey Galakhov <agalakhov@snapview.de>
5 years ago
Alexey Galakhov
4e8d6058d4
Version 0.9.2 released.
...
Signed-off-by: Alexey Galakhov <agalakhov@snapview.de>
5 years ago
Daniel Abramov
af1fe25efa
Merge pull request #88 from dbrgn/fix-typo
...
Fix typo in docs
5 years ago
Danilo Bargen
5f3f4c016e
Fix typo in docs
5 years ago
Daniel Abramov
f7e9cb097e
Merge pull request #87 from KevinWMatthews/readme_fix
...
Fix typo in README.md example
5 years ago
Kevin W Matthews
4cb27d08e4
Fix typo in README.md example
5 years ago
Daniel Abramov
0cf2a777df
Bump version
5 years ago
Daniel Abramov
c291395d3b
Fixes #86
5 years ago
Alexey Galakhov
2903a02ef5
frame: correct possible infinite loop on sending
...
Closes : #83
Signed-off-by: Alexey Galakhov <agalakhov@snapview.de>
5 years ago
Daniel Abramov
9e4244aecf
Merge pull request #81 from najamelan/cleanup/use_can_read
...
Make use of can_read to clean up some code
5 years ago
Naja Melan
17fe7987eb
Make use of can_read
5 years ago
Daniel Abramov
dd602455c4
Merge pull request #79 from najamelan/docs/close
...
WIP: Add some documentation to WebSocket and Error.
5 years ago
Daniel Abramov
b807f76ed1
Update error description
...
Remove the statement which is not valid anymore.
5 years ago
Daniel Abramov
0da592a9d4
Merge pull request #74 from najamelan/bugfix/no_send_after_close
...
Do not allow sending messages after sending a close frame
5 years ago
Naja Melan
1ee3f342aa
Consider remote sending a frame after sending a close frame a protocol error.
...
The websocket RFC explicitly states this is not allowed.
5 years ago
Naja Melan
2918eec1b3
No longer accept to send after close
5 years ago
Naja Melan
2004309814
integration test for no_send_after_close
5 years ago
Daniel Abramov
da323e6307
Merge pull request #75 from najamelan/bugfix/return_pong_after_initiate_close
...
Don't swallow ping/pong while waiting for close acknowledgement
5 years ago
Daniel Abramov
2b2e663264
Merge pull request #73 from dbcfd/expose-machine
...
Tokio-Tungstenite Async Changes
5 years ago
Danny Browning
6369d48579
Fix compilation error without default features
5 years ago
Naja Melan
f818322a25
Add some documentation to WebSocket and Error.
5 years ago
Naja Melan
9379ebe47d
Don't swallow ping/pong while waiting for close acknowledgement
5 years ago
Danny Browning
02684b4946
Try removing unpin
5 years ago
Daniel Abramov
fc41b598ce
Merge pull request #72 from najamelan/bugfix/receive_after_close
...
Keep processing incoming data even after we have initiated a close handshake.
5 years ago
Naja Melan
bf63a71cd1
cleanup unnecessary dereference
5 years ago
Danny Browning
614a5068fa
Tokio-Tungstenite Async Changes
...
Changes required for tokio-tungstenite async implementation.
5 years ago
Naja Melan
2e72b562ce
Improve error reporting from tests
5 years ago
Naja Melan
28579b567a
Improve WebSocketState interface with Copy, PartialEq, ...
5 years ago
Naja Melan
b923ec42c0
Keep processing incoming data even after we have initiated a close handshake.
5 years ago
Naja Melan
a3625fbaa9
integration test verifying that we can read messages after initiating close handshake.
5 years ago
Daniel Abramov
c6c3db34cc
Merge pull request #67 from vorot93/rust-2018
...
Edition 2018, formatting, clippy fixes
5 years ago
Artem Vorotnikov
cbf80ecc76
Edition 2018, formatting, clippy fixes
5 years ago
Alexey Galakhov
b40256eedd
Merge pull request #66 from snapview/fix-close
...
Fix error `ConnectionClosed` never returned to server when server initiated close
5 years ago
Daniel Abramov
e2bec4b81f
Change the way we return `Err::ConnectionClosed`
...
This way will ensure that we only return this error once. The previous
solution fixed the problem, but it did not guarantee that ""connection
closed" is returned only once.
5 years ago
Daniel Abramov
03b43bd074
Update the link to docs
5 years ago
Daniel Abramov
fa1f4a5ee2
Bump version
5 years ago