Vana SDK - v4.1.0
    Preparing search index...

    Interface WriteBinaryPayload

    Bytes to store as an unstructured (binary) record.

    interface WriteBinaryPayload {
        contentType: string;
        filename?: string;
    }
    Index

    Properties

    contentType: string

    Media type, e.g. application/pdf. Parameters are dropped when stored.

    filename?: string

    Stored with the record. Sent as X-Filename when it is printable ASCII, otherwise as Content-Disposition: attachment; filename*=UTF-8''..., which the Personal Server decodes back to the same string. Must not have leading or trailing whitespace (HTTP would strip it and the signed representation would no longer match).