SendStreamingMessageRequest

data class SendStreamingMessageRequest(val jsonrpc: String = "2.0", var id: RequestId? = null, val method: String = "message/stream", val params: MessageSendParams) : A2ARequest(source)

JSON-RPC 2.0 request for streaming a message to an agent using the A2A protocol's message/stream method.

This method allows sending messages with real-time streaming responses via Server-Sent Events (SSE). The server will return incremental updates about the task progress, status changes, and generated artifacts.

See also

Constructors

Link copied to clipboard
constructor(jsonrpc: String = "2.0", id: RequestId? = null, method: String = "message/stream", params: MessageSendParams)

Properties

Link copied to clipboard
open override var id: RequestId?
Link copied to clipboard
@SerialName(value = "jsonrpc")
open override val jsonrpc: String
Link copied to clipboard
@SerialName(value = "method")
open override val method: String
Link copied to clipboard
@SerialName(value = "params")
val params: MessageSendParams