Skip to content

Support ReadableStreams in services::fetch #1207

@nicklaswj

Description

@nicklaswj

Currently services::fetch:: does not support ReadableStreams, which would allow the user to read the body in byte chunks. However web-sys does currently not really support ReadableStreams (see wasm-bindgen/wasm-bindgen#1761), so in the meantime we will have to make a solution that uses handwritten bindings.

I'm still not exactly sure what the best yew API would look like, so any suggestions are very welcome 😄

I have no code to show yet - but I'll link to it when I do.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions