StreamableHttp
data class StreamableHttp(val url: String, val headers: Map<String, String> = emptyMap(), val timeout: Duration = Duration.ofSeconds(5), val readTimeout: Duration = Duration.ofMinutes(5)) : McpConnectionParameters
Parameters for establishing a MCP Streamable HTTP connection.
Constructors
Types
Link copied to clipboard
class Builder
Fluent builder for StreamableHttp, provided primarily for Java callers. Any property left unset falls back to the same default as the constructor.
Functions
Link copied to clipboard
Returns a Builder initialized with this instance's properties, primarily for Java callers. Prefer it over copy from Java: copy takes every property positionally, so its signature changes whenever a property is added.