brows3r — TypeScript API
    Preparing search index...

    Interface BytesPayload

    Payload returned by objectGetBytes.

    Mirrors src-tauri/src/s3/object.rs BytesPayload.

    OCP: contentType can be added as an optional field later.

    interface BytesPayload {
        body: string;
        contentLength: number;
        etag?: string;
        truncated: boolean;
    }
    Index

    Properties

    body: string

    Base64-encoded raw bytes, at most maxBytes in length.

    contentLength: number

    Total object size in bytes on S3 (before truncation).

    etag?: string

    HTTP ETag string from S3.

    truncated: boolean

    true when the returned body was truncated at maxBytes.