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
/
UIMessageStreamResponse
UIMessage
Stream
Response
class
UIMessageStreamResponse
(
val
stream
:
Flow
<
UIMessage
>
,
val
status
:
Int
=
200
,
val
headers
:
Map
<
String
,
String
>
=
UiMessageStreams.uiMessageStreamHeaders()
)
(
source
)
Since
0.3.0-beta01
Members
Constructors
UIMessage
Stream
Response
Link copied to clipboard
constructor
(
stream
:
Flow
<
UIMessage
>
,
status
:
Int
=
200
,
headers
:
Map
<
String
,
String
>
=
UiMessageStreams.uiMessageStreamHeaders()
)
Properties
headers
Link copied to clipboard
val
headers
:
Map
<
String
,
String
>
status
Link copied to clipboard
val
status
:
Int
stream
Link copied to clipboard
val
stream
:
Flow
<
UIMessage
>