Class: A2A::SendStreamingMessageResponse
- Inherits:
-
JSONRPC::Response
- Object
- JSONRPC::Response
- A2A::SendStreamingMessageResponse
- Defined in:
- lib/a2a/types/send_streaming_message_response.rb
Overview
Response to a ‘message/stream` request. The server may send multiple response objects for a single request. Returns a Message, Task, or streaming update events.
Instance Method Summary collapse
-
#error ⇒ JSONRPC::Error?
Error information if the request failed.
-
#result ⇒ Message, ...
The result, which can be a Message, Task, or streaming update event.
Instance Method Details
#error ⇒ JSONRPC::Error?
13 |
# File 'lib/a2a/types/send_streaming_message_response.rb', line 13 attribute? :error, Types::Constructor(JSONRPC::Error).optional |
#result ⇒ Message, ...
10 |
# File 'lib/a2a/types/send_streaming_message_response.rb', line 10 attribute? :result, Types::Any.optional |