StreamingResponseDefinitionBuilder

constructor(request: CapturedRequest<P>, flow: <Error class: unknown class><T>? = null, chunks: MutableList<T> = mutableListOf(), delayBetweenChunks: <Error class: unknown class> = Duration.ZERO, httpStatus: <Error class: unknown class> = HttpStatusCode.OK, headers: MutableList<<Error class: unknown class><String, String>> = mutableListOf())

Parameters

P

The type of the request body.

T

The type of data being streamed.