Adding transportType to API
This commit is contained in:
parent
ef08e97a5f
commit
b326e36ccc
1 changed files with 106 additions and 17 deletions
|
|
@ -26,6 +26,8 @@ export type UseMcpOptions = {
|
|||
autoReconnect?: boolean | number
|
||||
/** Popup window features string (dimensions and behavior) for OAuth */
|
||||
popupFeatures?: string
|
||||
/** Transport type preference: 'auto' (HTTP with SSE fallback), 'http' (HTTP only), 'sse' (SSE only) */
|
||||
transportType?: 'auto' | 'http' | 'sse'
|
||||
}
|
||||
|
||||
export type UseMcpResult = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue