Matheus Zaniolo
Results
2
comments of
Matheus Zaniolo
@alexewsv For subscription is a little different. On the browser we can't set headers when creating a websocket connection. You can check [this page](https://stackoverflow.com/a/4361358) for a more detailed explanation on...
I don't know if it would work on your case but I did it like this ``` rust let consumer_stream = Box::pin(futures::stream::unfold(consumer, async |mut consumer| { let new_msg = consumer.try_next().await.inspect_err(|e|...