Commit Graph

40 Commits (c7e9e0cbae3c616c78345a1729c12d812d24afc9)

Author SHA1 Message Date
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
Florian Uekermann 3e45100f5d
replace unwrap with ? 3 years ago
Daniel Abramov 6c4d2bab04 Fix newly introduced clippy warnings 3 years ago
Dominik Nakamura f4bb653aa0
Upgrade to rustls 0.20 3 years ago
Maarten de Vries 96612748d1 Expose `handshake::derive_accept_key` as public API. 4 years ago
WiredSound 98377cf3dd Rename ProtocolErrorType to just ProtocolError, implement using thiserror 4 years ago
WiredSound aaebb432f0 Fix clippy warnings 4 years ago
WiredSound 6f846da0e3 Add protocol error types 4 years ago
Dominik Nakamura 82e09ea025
Remove remaining dynamic dispatch usage 4 years ago
Austaras 4d70f63cbf
Add a custom response builder (#158) 4 years ago
Daniel Abramov 96d9eb75e5 chore: apply `fmt` to the whole project 4 years ago
Daniel Abramov a8e06d2b39 clean up http error handling 4 years ago
Redrield 60f7b0f024 Fix some code-review issues 4 years ago
Redrield bcf2b22d9e
Deduplicate the reason line in HTTP responses 5 years ago
macpp 0bfc217cfc allow firefox to connect 5 years ago
Sebastian Dröge c2f713b6bb Update to http 0.2 5 years ago
Sebastian Dröge 88760b8b59 Fix various clippy warnings 5 years ago
Sebastian Dröge 07d4721ffd Add type aliases for Response/Request with a fixed body type 5 years ago
Sebastian Dröge 1ecc4f900d Use Response for the server handshake callback too 5 years ago
Sebastian Dröge 09a9b7ceef Remove custom Request/Response types from server code 5 years ago
Sebastian Dröge 9020840f84 Remove custom Request/Response types from client code 5 years ago
Sebastian Dröge 38a7d1a375 Remove custom Headers type and use http::HeaderMap instead 5 years ago
Danilo Bargen 5f3f4c016e Fix typo in docs 5 years ago
Danny Browning 02684b4946 Try removing unpin 6 years ago
Danny Browning 614a5068fa Tokio-Tungstenite Async Changes 6 years ago
Artem Vorotnikov cbf80ecc76
Edition 2018, formatting, clippy fixes 6 years ago
Alexey Galakhov 6f132208ee server: let callback return HTTP error messages 6 years ago
Daniel Abramov 00303fa60c Make the websocket configurable 7 years ago
Sean Schwartz 66d2c15f2d Derive Debugs 7 years ago
Alexey Galakhov 3091d11566 callback static dispatch 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
Alexey Galakhov 6faf90cd7b trivial: remove commented-out code 8 years ago
Alexey Galakhov bd9ac9673e chore: cleanup docs and warnings, strict docs 8 years ago
Ran Benita 76e80ca9a3 Only allocate error message if the error occurred 8 years ago
Alexey Galakhov 53aa24b06b Fix warnings 8 years ago
Alexey Galakhov 9e00140e19 trivial: debug logging cleanup 8 years ago
Alexey Galakhov c6d3dd6404 refactor: fix unit tests for new API 8 years ago
Alexey Galakhov b7557f1baa refactor: make handshake completely async 8 years ago
Daniel Abramov 93843a1290 Fix `WouldBlock` error handling for the handshakes 8 years ago
Alexey Galakhov 7dccc51277 server: implement server 8 years ago
Alexey Galakhov e63f594a14 Initial commit, mostly working client 8 years ago