We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I was looking at the certificate example at the quinn docs and realized it was not up to date.
It shows that client configuration is done with following code:
fn configure_client() -> ClientConfig { let crypto = rustls::ClientConfig::builder() .with_safe_defaults() .with_custom_certificate_verifier(SkipServerVerification::new()) .with_no_client_auth(); ClientConfig::new(Arc::new(crypto)) }
but this only works before this commit, when QuicClientConfig was not yet introduced.
Other example code in the docs might be outdated too although I haven't tried them all.
The text was updated successfully, but these errors were encountered:
Thanks for the report! Would you be able to submit a PR?
Sorry, something went wrong.
sure! I'm working on it
Would be nice if someone can set it up so that the mdbook files use code that is checked by the compiler -- example here: https://github.com/rust-cli/book.
(If someone can contribute in that direction, I'm happy to fix up the actual code.)
No branches or pull requests
I was looking at the certificate example at the quinn docs and realized it was not up to date.
It shows that client configuration is done with following code:
but this only works before this commit, when QuicClientConfig was not yet introduced.
Other example code in the docs might be outdated too although I haven't tried them all.
The text was updated successfully, but these errors were encountered: