QUIC - Quick UDP Internet Connections in tokio #4992
-
I need to write an async server with encrypted. |
Beta Was this translation helpful? Give feedback.
Answered by
Noah-Kennedy
Sep 8, 2022
Replies: 1 comment
-
Tokio does not itself support QUIC, as that is out of scope for the async runtime. That said, there are multiple QUIC implementations you can use with tokio. quiche is very powerful but somewhat low level, and you may find using it to be a fair bit of work. quinn, on the other hand, is easier to use out of the box as it is higher-level and builds on top of tokio directly for its IO. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
hawkw
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tokio does not itself support QUIC, as that is out of scope for the async runtime. That said, there are multiple QUIC implementations you can use with tokio. quiche is very powerful but somewhat low level, and you may find using it to be a fair bit of work. quinn, on the other hand, is easier to use out of the box as it is higher-level and builds on top of tokio directly for its IO.