Skip to content

How to respond streaming data from Receiver? #397

Answered by davidpdrsn
kenmasumitsu asked this question in Q&A
Discussion options

You must be logged in to vote

You can use ReceiverStream to convert the receiver into a stream and then use SSE similar to what's shown here.

However these days it's more common to use websockets than sse. More details on that here. There is a complete chat app example here.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by davidpdrsn
Comment options

You must be logged in to vote
1 reply
@davidpdrsn
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants