Jump to Content

This API Documentation is now deprecated

We are excited to announce our new API Documentation.

The interface contains mix-in utility functions to transfer the runtime-specific stream implementation to specified format. Each stream can ONLY be transformed once.


  • SdkStreamMixin


transformToByteArray: (() => Promise<Uint8Array>)

Type declaration

    • (): Promise<Uint8Array>
    • Returns Promise<Uint8Array>

transformToString: ((encoding?: string) => Promise<string>)

Type declaration

    • (encoding?: string): Promise<string>
    • Parameters

      • Optional encoding: string

      Returns Promise<string>

transformToWebStream: (() => ReadableStream<any>)

Type declaration

    • (): ReadableStream<any>
    • Returns ReadableStream<any>