AI-Mocks
Toggle table of contents
0.8.1-SNAPSHOT
common
Target filter
common
Switch theme
Search in API
Skip to content
AI-Mocks
ai-mocks-core
/
dev.mokksy.aimocks.core
/
StreamingResponseSpecification
Streaming
Response
Specification
common
interface
StreamingResponseSpecification
<
T
:
Any
>
(
source
)
Inheritors
AbstractStreamingResponseSpecification
Members
Functions
chunks
Link copied to clipboard
common
abstract
fun
chunks
(
chunks
:
List
<
T
>
)
abstract
fun
chunks
(
vararg
chunks
:
T
)
Sets the chunks of content for the streaming response.
stream
Link copied to clipboard
common
abstract
fun
stream
(
stream
:
Stream
<
T
>
)