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
a1b4b2de61
Bump version to 0.13.0
4 years ago
WiredSound
78d59f9266
Escape square brackets in doc comment
4 years ago
WiredSound
b85a661967
Minor change to wording of README
4 years ago
WiredSound
0b34bee94f
Add capacity error types
4 years ago
WiredSound
aaebb432f0
Fix clippy warnings
4 years ago
WiredSound
6f846da0e3
Add protocol error types
4 years ago
WiredSound
34c6e63d87
Add specific URL error types
4 years ago
Daniel Abramov
7265a8560c
Add a changelog
...
Fixes #45
4 years ago
Daniel Abramov
6087e07aed
Bump version
4 years ago
Daniel Abramov
e1ae3872cd
Merge pull request #159 from adambezecny/master
...
WebSocketConfig extended to allow accepting unmasked client frames
4 years ago
Daniel Abramov
bd2a43c40a
Merge pull request #170 from dnaka91/update-input-buffer
...
Update input_buffer to use the official version
4 years ago
Dominik Nakamura
d24e3e4734
Update input_buffer to use the official version
4 years ago
Daniel Abramov
06e5689cca
Merge pull request #167 from dnaka91/remove-dyn-dispatch
...
Remove remaining dynamic dispatch usage
4 years ago
Dominik Nakamura
82e09ea025
Remove remaining dynamic dispatch usage
4 years ago
Antoine Catton
208061ba28
Docfix: mio::tcp has been renamed to mio::net in its latest version ( #164 )
...
This a relic of the old name in the function documentation.
4 years ago
Austaras
4d70f63cbf
Add a custom response builder ( #158 )
...
* add custom reponse builder
* change names and shorten implemtation
* Re-format the code
Co-authored-by: Daniel Abramov <dabramov@snapview.de>
4 years ago
Daniel Abramov
b0a6bae832
Merge pull request #163 from nickelc/bytes
...
Update to bytes 1.0
4 years ago
Constantin Nickel
75bf9b8730
use snapview/inputer_buffer@master
4 years ago
Daniel Abramov
56239c8e2f
Merge pull request #161 from snapview/dependabot/cargo/rand-0.8.0
...
Update rand requirement from 0.7.2 to 0.8.0
4 years ago
Constantin Nickel
8417078ef3
Update to bytes 1.0
4 years ago
dependabot[bot]
ecc3997bde
Update rand requirement from 0.7.2 to 0.8.0
...
Updates the requirements on [rand](https://github.com/rust-random/rand ) to permit the latest version.
- [Release notes](https://github.com/rust-random/rand/releases )
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-random/rand/compare/0.7.2...0.8.0 )
Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
Adam Bezecny (DHL IT Services)
c8c236056b
if streamlined
4 years ago
Adam Bezecny (DHL IT Services)
2e55ed0fcc
comment streamlined
4 years ago
Adam Bezecny (DHL IT Services)
9f292d21fc
minor fixes
4 years ago
Adam Bezecny (DHL IT Services)
4f7dab5d7b
documentation for server_allow_unmasked improved
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
a7daafdfc8
Merge pull request #156 from snapview/clean-ups
...
Regular maintenance
4 years ago
Daniel Abramov
fcacea7c9f
chore: apply `clippy`
4 years ago
Daniel Abramov
96d9eb75e5
chore: apply `fmt` to the whole project
4 years ago
Daniel Abramov
2638bd69c7
Merge pull request #148 from Redrield/feature/follow-3xx
...
Add facilities to allow clients to follow HTTP 3xx redirects
4 years ago
Daniel Abramov
09f5d34899
use 3 redirects as default for `connect`
4 years ago
Daniel Abramov
a8e06d2b39
clean up http error handling
4 years ago
Daniel Abramov
521f1a0767
clean up the redirect logic a bit
4 years ago
Redrield
60f7b0f024
Fix some code-review issues
...
* Replace Redirection error with a general Http error that owns the
response
* Make the default client connect function iterative instead of
recursive
* Add a limit to the amount of redirects a client will attempt to
perform
4 years ago
Redrield
6bce14fa26
Add facilities to allow clients to follow HTTP 3xx redirects
...
* The connect() function defined in this crate will automatically follow
redirecting responses.
* Adds Error::Redirection, which is a special case of Error::Http that
extracts the redirection target from the response headers, and stores it
in the error object. Client implementations that build upon tungstenite
can use this to implement redirecting.
* A catch-all solution for redirects is not possible due to the
abstraction transforming socket types to Read + Write, implementations
that use the client_* methods need to handle redirections themselves.
4 years ago
Daniel Abramov
2e711fb6fd
Merge pull request #154 from Horki/matches_macro_fix
...
matches!: use macros; remove unused imports
4 years ago
Horki
88ff5f371f
matches!: use macros; remove unused imports
4 years ago
Daniel Abramov
2853699f31
Merge pull request #152 from snapview/dependabot/cargo/env_logger-0.8.1
...
Update env_logger requirement from 0.7.1 to 0.8.1
4 years ago
Daniel Abramov
1571e8b601
Merge pull request #146 from snapview/dependabot/cargo/base64-0.13.0
...
Update base64 requirement from 0.12.0 to 0.13.0
4 years ago
dependabot[bot]
f62bfcba0e
Update env_logger requirement from 0.7.1 to 0.8.1
...
Updates the requirements on [env_logger](https://github.com/env-logger-rs/env_logger ) to permit the latest version.
- [Release notes](https://github.com/env-logger-rs/env_logger/releases )
- [Changelog](https://github.com/env-logger-rs/env_logger/blob/master/CHANGELOG.md )
- [Commits](https://github.com/env-logger-rs/env_logger/compare/v0.7.1...v0.8.1 )
Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
dependabot[bot]
33f8464211
Update base64 requirement from 0.12.0 to 0.13.0
...
Updates the requirements on [base64](https://github.com/marshallpierce/rust-base64 ) to permit the latest version.
- [Release notes](https://github.com/marshallpierce/rust-base64/releases )
- [Changelog](https://github.com/marshallpierce/rust-base64/blob/master/RELEASE-NOTES.md )
- [Commits](https://github.com/marshallpierce/rust-base64/compare/v0.12.0...v0.13.0 )
Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
Daniel Abramov
96a8499533
Merge pull request #143 from phimuemue/simpl
...
Some simplifications
4 years ago
philipp
50bc1b5e90
Delegate into_client_request (4)
4 years ago
philipp
064fd9313f
Delegate into_client_request (3)
4 years ago
philipp
90345c994a
Delegate into_client_request (2)
4 years ago
philipp
4cdc2edab1
Delegate into_client_request
4 years ago
philipp
599b677f5a
Avoid temporary variable `fin`
4 years ago