-
|
Beta Was this translation helpful? Give feedback.
Answered by
robjtede
Jul 9, 2021
Replies: 1 comment 1 reply
-
simple way using then convert the Bytes to String: |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
robjtede
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
simple way using
actix-http
dep explicitly:https://docs.rs/actix-http/3.0.0-beta.8/actix_http/body/fn.to_bytes.html
then convert the Bytes to String:
String::from_utf8(&bytes[..])