How can i transfer my res.data to Uint8Array #264
Answered
by
jimmywarting
broairport
asked this question in
Q&A
-
I use axios to get data from my backend . |
Beta Was this translation helpful? Give feedback.
Answered by
jimmywarting
Jan 18, 2022
Replies: 1 comment 8 replies
-
I would recommend against using axios... why?
only fetch supports streaming... fetch(url).then(res => {
res.body.pipeTo(destination)
}) |
Beta Was this translation helpful? Give feedback.
8 replies
Answer selected by
broairport
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I would recommend against using axios...
why?
only fetch supports streaming...