IFClite TypeScript API
    Preparing search index...

    Interface BlobRouteOptions

    interface BlobRouteOptions {
        authorize?: BlobAuthorizeFn;
        maxBytes?: number;
        storage: ServerBlobStorage;
        verifySha256?: boolean;
    }
    Index
    authorize?: BlobAuthorizeFn

    Optional authorizer. When supplied, every request must pass it before any storage access (GET/HEAD/PUT/DELETE and the /blobs list). When omitted, traffic is anonymous (dev/tests). startCollabServer wires this from its authenticate hook so blobs share the WS auth scheme.

    maxBytes?: number

    Reject PUTs over this size (default 100 MB).

    verifySha256?: boolean

    If set, server recomputes a sha256 of the body and 409s when it doesn't match the URL hash. Defaults to false because clients use fnv128 which is not sha256-compatible.