Skip to content

Helper to get body parts from a streaming client response #2183

@glbrntt

Description

@glbrntt

The StreamingClientResponse type has an accepted property which holds a result, the success case of which holds the Contents of the body of the response which in turn holds a bodyParts async sequence.

This isn't very ergonomic to get!

We should add a computed property called bodyParts to StreamingClientResponse which returns it to us (or throws).

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomerskind/usabilityUsability of generated code, ergonomics.size/SSmall task. (A couple of hours of work.)🆕 semver/minorAdds new public API.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions