added StreamableHTTPOptions as an interface to index.d.ts
This commit is contained in:
parent
1e49e616c7
commit
ac329d787e
1 changed files with 11 additions and 1 deletions
12
core/index.d.ts
vendored
12
core/index.d.ts
vendored
|
|
@ -1133,7 +1133,17 @@ export interface SSEOptions {
|
|||
requestOptions?: RequestOptions;
|
||||
}
|
||||
|
||||
export type TransportOptions = StdioOptions | WebSocketOptions | SSEOptions;
|
||||
export interface StreamableHTTPOptions {
|
||||
type: "streamable-http";
|
||||
url: string;
|
||||
requestOptions?: RequestOptions;
|
||||
}
|
||||
|
||||
export type TransportOptions =
|
||||
| StdioOptions
|
||||
| WebSocketOptions
|
||||
| SSEOptions
|
||||
| StreamableHTTPOptions;
|
||||
|
||||
export interface MCPOptions {
|
||||
name: string;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue