ADK for TypeScript: API Reference
    Preparing search index...

    Interface SseConnectionParams

    Defines the parameters for establishing a connection to an MCP server over the HTTP+SSE transport.

    Usage: const connectionParams: SseConnectionParams = { type: 'SseConnectionParams', url: 'http://localhost:8090/sse' };

    interface SseConnectionParams {
        header?: Record<string, unknown>;
        headers?: Record<string, unknown>;
        sseReadTimeout?: number;
        timeout?: number;
        transportOptions?: SSEClientTransportOptions;
        type: "SseConnectionParams";
        url: string;
    }
    header?: Record<string, unknown>

    Use transportOptions.requestInit.headers instead. This field will be ignored if transportOptions is provided even if no headers are specified in transportOptions.

    headers?: Record<string, unknown>

    HTTP headers to send with the SSE and POST requests when transportOptions.requestInit is not provided.

    sseReadTimeout?: number
    timeout?: number
    transportOptions?: SSEClientTransportOptions
    type: "SseConnectionParams"
    url: string