Mcp运输;交通工具Config
Transport configurations supported by the common JVM/Android MCP API.
Inheritors
类型
Link copied to clipboard
data class StreamableHttp(val url: String, val headers: Map<String, String> = emptyMap(), val connectTimeout: Duration = 5.seconds, val requestTimeout: Duration = 5.minutes, val allowInsecureHttp: Boolean = false) : McpTransportConfig
Streamable 的 HTTP 设置同时被 JVM 和 Android MCP 客户端支持。