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

    Interface StreamableHTTPConnectionParams

    Defines the parameters for establishing a connection to an MCP server over HTTP using Server-Sent Events (SSE) for streaming.

    Usage: const connectionParams: StreamableHTTPConnectionParams = { type: 'StreamableHTTPConnectionParams', url: 'http://localhost:8788/mcp' };

    interface StreamableHTTPConnectionParams {
        header?: Record<string, unknown>;
        sseReadTimeout?: Number;
        terminateOnClose?: boolean;
        timeout?: Number;
        type: "StreamableHTTPConnectionParams";
        url: string;
    }

    Properties

    header?: Record<string, unknown>
    sseReadTimeout?: Number
    terminateOnClose?: boolean
    timeout?: Number
    type: "StreamableHTTPConnectionParams"
    url: string