Sse Stream Response Definition
open class SseStreamResponseDefinition<P>(val chunkFlow: <Error class: unknown class><<Error class: unknown class>>? = null, delay: <Error class: unknown class> = Duration.ZERO) : StreamResponseDefinition<P, <Error class: unknown class>>
Constructors
Properties
Link copied to clipboard
The MIME type of the response content. Defaults to null
.
Link copied to clipboard
Delay between the transmission of each chunk.
Link copied to clipboard
A list of header key-value pairs to populate the response headers. Defaults to an empty list.
Link copied to clipboard
The HTTP status code of the response. Defaults to HttpStatusCode.OK.