MCP-SuperAssistant/dist/gateways/streamableHttpToSse.d.ts
2026-02-21 17:44:03 -07:00

16 lines
525 B
TypeScript

import { type CorsOptions } from 'cors';
import { Logger } from '../types.js';
export interface StreamableHttpToSseArgs {
streamableHttpUrl: string;
port: number;
host: string;
baseUrl: string;
ssePath: string;
messagePath: string;
logger: Logger;
corsOrigin: CorsOptions['origin'];
healthEndpoints: string[];
headers: Record<string, string>;
}
export declare function streamableHttpToSse(args: StreamableHttpToSseArgs): Promise<void>;
//# sourceMappingURL=streamableHttpToSse.d.ts.map