@weaviate
    Preparing search index...

    Type Alias Context

    type Context = {
        agentMaker?: (secure: boolean) => HttpAgent | undefined;
        toBase64FromMedia: ToBase64FromMedia;
        transportsFactory: TransportsFactory;
    }
    Index
    agentMaker?: (secure: boolean) => HttpAgent | undefined

    Creates the HTTP(S) keep-alive agent for the REST/GraphQL connection. Supplied by the Node shim (@weaviate/node); omitted by the browser shim (@weaviate/web) so no Node http/https builtins are pulled into the browser bundle. When undefined, fetch runs without a custom agent.

    toBase64FromMedia: ToBase64FromMedia
    transportsFactory: TransportsFactory