You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I'd love to have a way to push data to the webview in a streaming fashion, whether server sent events or websockets. This got discussed in #420, but is distinctly different as that issue was about asynchronously returning a singular response.
Describe the solution you'd like
Accept Response<Stream<Item = Vec<u8>>> in some manner.
Is your feature request related to a problem? Please describe.
I'd love to have a way to push data to the webview in a streaming fashion, whether server sent events or websockets. This got discussed in #420, but is distinctly different as that issue was about asynchronously returning a singular response.
Describe the solution you'd like
Accept
Response<Stream<Item = Vec<u8>>>
in some manner.Response
(fromhttp
) can already accept aStream
Where it goes awry is on response via the
RequestAsyncResponder
, which requires aResponse<Into<Cow<'static, [u8]>>>
.The text was updated successfully, but these errors were encountered: