Anyone that has experience with using HTTP streaming API:s via RTK query? #3977
Closed
nguyenlam123
started this conversation in
General
Replies: 1 comment
-
ah I figured out that the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Anyone that has experience with using HTTP streaming API:s via RTK query? Is this even possible for http call?
Instead of using
websocket
here, we use http instead so the setup would look like thisusing it in my component like
How do I get the stream behaviour?
However, if I run this in a callback function it will work for instance if the callback was attached to a button. Example:
How do I make this work with rtk query? Thanks so much in advance for all help 🙇
Beta Was this translation helpful? Give feedback.
All reactions