Configuration
class Configuration(val enableJsonResponse: Boolean = false, val enableDnsRebindingProtection: Boolean = false, val allowedHosts: List<String>? = null, val allowedOrigins: List<String>? = null, val eventStore: EventStore? = null, val retryInterval: Duration? = null, val maxRequestBodySize: Long = DEFAULT_MAX_REQUEST_BODY_SIZE)(source)
Configuration options for StreamableHttpServerTransport.
Properties
Link copied to clipboard
list of hosts allowed for server communication, or null to allow all
Link copied to clipboard
list of allowed CORS origins, or null to allow all
Link copied to clipboard
enables DNS rebinding protection
Link copied to clipboard
when true, returns direct JSON responses instead of SSE streams
Link copied to clipboard
store for resumable events, or null to disable resumability
Link copied to clipboard
Maximum allowed size (in bytes) for incoming request bodies. Defaults to 4 MB (4,194,304 bytes).
Link copied to clipboard
retry interval for SSE reconnection attempts