chunks

abstract fun chunks(chunks: List<T>)(source)

Sets the chunks of content for the streaming response.

Parameters

chunks

The chunks of content to include in the streaming response.


abstract fun chunks(vararg chunks: T)(source)

Sets the chunks of content for the streaming response.

Return

This specification instance for method chaining.

Parameters

chunks

The chunks of content to include in the streaming response.