Skip to content

Blob download() result type should return stream #3711

@jeremymeng

Description

@jeremymeng

the download() operation result type has

  ): (BodyParameter & {
    /** The media type of the body of the response. */
    @header("Content-Type")
    contentType: "application/octet-stream";

Our generated code today reutrns Promise<Uint8Array>, we should generate code that returns .asNodeStream() or asBrowserStream()

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions