AI SDK Kotlin
Toggle table of contents
0.3.0-beta01
common
Target filter
common
Switch theme
Search in API
Skip to content
AI SDK Kotlin
AI SDK Kotlin
/
ai.torad.aisdk.ui
/
UiMessageStreams
/
pipeTextStreamToResponse
pipe
Text
Stream
To
Response
suspend
fun
pipeTextStreamToResponse
(
textStream
:
Flow
<
String
>
,
response
:
ServerResponseWriter
,
status
:
Int
=
200
,
headers
:
Map
<
String
,
String
>
=
textStreamHeaders()
)
(
source
)