modal
    Preparing search index...

    Interface ModalClientParams

    interface ModalClientParams {
        endpoint?: string;
        environment?: string;
        grpcMiddleware?: ClientMiddleware[];
        logger?: Logger;
        logLevel?: LogLevel;
        maxRetries?: number;
        timeoutMs?: number;
        tokenId?: string;
        tokenSecret?: string;
    }
    Index

    Properties

    endpoint?: string
    environment?: string
    grpcMiddleware?: ClientMiddleware[]

    Custom gRPC middleware to be applied to all API calls. These middleware are appended after Modal's built-in middleware (authentication, retry logic, and timeouts), allowing you to add telemetry, tracing, or other observability features.

    Note that the Modal gRPC API is not considered a public API, and can change without warning.

    logger?: Logger
    logLevel?: LogLevel
    maxRetries?: number
    timeoutMs?: number
    tokenId?: string
    tokenSecret?: string