Commit Graph

37 Commits (45dad40cb544ac6bee91afb961a589938cbb514d)

Author SHA1 Message Date
Daniel Abramov d661f57224 client: overhaul of the request generation 3 years ago
Dominik Nakamura f4bb653aa0
Upgrade to rustls 0.20 3 years ago
yifei 9f563561a4 fix: return err if try to overwrite standard hedaer 3 years ago
Dominik Nakamura 32450ae5af
Add a connector to configure TLS config 3 years ago
Dominik Nakamura 3efb0544c6
Remove the rustls-tls feature flag 3 years ago
Daniel Abramov 2787031c2f Replace `InputBuffer` with a faster alternative 3 years ago
Maarten de Vries abebb330af Implement From<CapacityError> and From<UrlError> for Error. 4 years ago
Lukas Kalbertodt 5ce9e7ca39
Add `From<ProtocolError>` impl for `Error` 4 years ago
Dominik Nakamura c101024c28
Add support for rustls as TLS backend (#166) 4 years ago
WiredSound 3e485ddb96 Rename UrlErrorType to just UrlError, implement using thiserror 4 years ago
WiredSound 98377cf3dd Rename ProtocolErrorType to just ProtocolError, implement using thiserror 4 years ago
WiredSound 652a6b776e Rename CapacityErrorType to just CapacityError, implement using thiserror 4 years ago
WiredSound e6d66698a3 Use thiserror to streamline the implementation of the main Error type 4 years ago
WiredSound 0b34bee94f Add capacity error types 4 years ago
WiredSound 6f846da0e3 Add protocol error types 4 years ago
WiredSound 34c6e63d87 Add specific URL error types 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 6bce14fa26 Add facilities to allow clients to follow HTTP 3xx redirects 4 years ago
Horki 88ff5f371f matches!: use macros; remove unused imports 4 years ago
Daniel Abramov 0c429cba94 chore: remove deprecated `description()` 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
Daniel Abramov b807f76ed1
Update error description 5 years ago
Naja Melan f818322a25 Add some documentation to WebSocket and Error. 5 years ago
Artem Vorotnikov cbf80ecc76
Edition 2018, formatting, clippy fixes 5 years ago
Alexey Galakhov b8f7d3668e close: refine close semantics 5 years ago
Teddy DeRego 5742c822ee WebSocket::write_message will no longer buffer unlimited messages - it will only buffer a configurable number of outbound messages. Needed for snapview/tokio-tungstenite#35. 7 years ago
Alexey Galakhov bd9ac9673e chore: cleanup docs and warnings, strict docs 7 years ago
Alexey Galakhov 66e30b2767 Return close frame with ConnectionClosed 8 years ago
Alexey Galakhov e0eecd28b1 Refactor TLS handling 8 years ago
Alexey Galakhov b7557f1baa refactor: make handshake completely async 8 years ago
Alexey Galakhov de1fb673b2 error: correct UTF-8 error handling 8 years ago
Alexey Galakhov 4714773370 close: implement complete close handshake 8 years ago
Alexey Galakhov e63f594a14 Initial commit, mostly working client 8 years ago