sendStreamingMessage

Sends a message to an agent with streaming updates using the A2A protocol's message/stream method.

This method creates a new message and establishes a streaming connection that provides real-time updates about the task's progress via Server-Sent Events (SSE).

Return

A flow of task update events that emits as the task progresses until completion.

Parameters

params

The parameters for sending the message, including input data and requirements.

See also


Sends a message to an agent with streaming updates using a pre-constructed request object.

This method allows for more control over the request, including setting a custom request ID and complete streaming parameters.

Return

A flow of task update events that emits as the task progresses until completion.

Parameters

request

The fully constructed streaming message request containing ID and parameters.

See also