SendStreamingMessageResponse

data class SendStreamingMessageResponse(val jsonrpc: String = "2.0", var id: RequestId? = null, val result: TaskUpdateEvent? = null, val error: JSONRPCError? = null)(source)

JSON-RPC 2.0 response for the message/stream method in the A2A protocol.

Contains the initial task information for a streaming message request. Subsequent updates are delivered via Server-Sent Events (SSE) as TaskUpdateEvent instances.

See also

Constructors

Link copied to clipboard
constructor(jsonrpc: String = "2.0", id: RequestId? = null, result: TaskUpdateEvent? = null, error: JSONRPCError? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "jsonrpc")
val jsonrpc: String
Link copied to clipboard