TransportConfig.streamableHttp constructor
const
TransportConfig.streamableHttp({})
Configuration for Streamable HTTP transport with all features
Implementation
const factory TransportConfig.streamableHttp({
required String baseUrl,
Map<String, String>? headers,
Duration? timeout,
int? maxConcurrentRequests,
bool? useHttp2,
OAuthConfig? oauthConfig,
bool enableCompression,
Duration? heartbeatInterval,
int maxMissedHeartbeats,
bool terminateOnClose, // Whether to send DELETE on disconnect (default: true)
}) = StreamableHttpTransportConfig;