Skip to content

Support a stream on uploadFile in browsers #1746

@ueokande

Description

@ueokande

Package

  • @kintone/rest-api-client 3.1.11

Why

https://github.com/kintone/js-sdk/blob/master/packages/rest-api-client/docs/file.md#uploadFile

Stream is only available in Node.js environment.

Uploading files from local filesystem and stream is supported is only available in Node.js. This can cause increase heap memory usage.

What

Most modern browsers support WritableStream. This is helpful to reduce memory usage in browsers.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions