Streaming Response Definition Builder
constructor(request: CapturedRequest<P>, flow: Flow<T>? = null, chunks: MutableList<T> = mutableListOf(), delayBetweenChunks: Duration = Duration.ZERO, httpStatus: HttpStatusCode = HttpStatusCode.OK, chunkContentType: ContentType? = null, formatter: HttpFormatter)(source)
Parameters
P
The type of the request body.
T
The type of data being streamed.