Type alias ConnectToLocalOptions

ConnectToLocalOptions: {
    authCredentials?: AuthCredentials;
    grpcPort?: number;
    headers?: Record<string, string>;
    host?: string;
    port?: number;
    skipInitChecks?: boolean;
    timeout?: TimeoutParams;
}

Type declaration

  • Optional authCredentials?: AuthCredentials

    The authentication credentials to use when connecting to Weaviate, e.g. API key

  • Optional grpcPort?: number

    The port of the HTTP/2 server

  • Optional headers?: Record<string, string>

    Additional headers to include in the request

  • Optional host?: string

    The host where Weaviate is served. Assumes that the HTTP/1.1 and HTTP/2 servers are served on the same host

  • Optional port?: number

    The port of the HTTP/1.1 server

  • Optional skipInitChecks?: boolean

    Whether to skip the initialization checks

  • Optional timeout?: TimeoutParams

    The timeouts to use when making requests to Weaviate