StreamableHttpTransportConfig class final
- Inheritance
-
- Object
- TransportConfig
- StreamableHttpTransportConfig
- Annotations
-
- @immutable
Constructors
Properties
- baseUrl → String
-
final
- enableCompression → bool
-
No effect: responses are decompressed by the HTTP client, which asks
for gzip itself. Kept so 2.x calls compile.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
→ Map<
String, String> ? -
final
- heartbeatInterval → Duration?
-
Ping the server at this interval once connected, on revisions that have
ping(Client.startKeepAlive); maxMissedHeartbeats unanswered pings in a row end the connection.final - maxConcurrentRequests → int?
-
Requests in flight at once; more wait their turn.
final
- maxMissedHeartbeats → int
-
Unanswered heartbeat pings in a row that end the connection.
final
- oauth → McpOAuth?
-
MCP authorization: discovery, registration and tokens (see McpOAuth).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- terminateOnClose → bool
-
Send
DELETEto end the session when disconnecting.final - timeout → Duration?
-
final
- useHttp2 → bool?
-
No effect: the HTTP client speaks HTTP/1.1. Kept so 2.x calls compile.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited