Class: RubyLLM::MCP::Native::Transports::StartSSEOptions
- Inherits:
-
Object
- Object
- RubyLLM::MCP::Native::Transports::StartSSEOptions
- Defined in:
- lib/ruby_llm/mcp/native/transports/streamable_http.rb
Overview
Options for starting SSE connections
Instance Attribute Summary collapse
-
#on_resumption_token ⇒ Object
readonly
Returns the value of attribute on_resumption_token.
-
#replay_message_id ⇒ Object
readonly
Returns the value of attribute replay_message_id.
-
#resumption_token ⇒ Object
Returns the value of attribute resumption_token.
Instance Method Summary collapse
-
#initialize(resumption_token: nil, on_resumption_token: nil, replay_message_id: nil) ⇒ StartSSEOptions
constructor
A new instance of StartSSEOptions.
Constructor Details
#initialize(resumption_token: nil, on_resumption_token: nil, replay_message_id: nil) ⇒ StartSSEOptions
Returns a new instance of StartSSEOptions.
30 31 32 33 34 |
# File 'lib/ruby_llm/mcp/native/transports/streamable_http.rb', line 30 def initialize(resumption_token: nil, on_resumption_token: nil, replay_message_id: nil) @resumption_token = resumption_token @on_resumption_token = on_resumption_token @replay_message_id = end |
Instance Attribute Details
#on_resumption_token ⇒ Object (readonly)
Returns the value of attribute on_resumption_token.
28 29 30 |
# File 'lib/ruby_llm/mcp/native/transports/streamable_http.rb', line 28 def on_resumption_token @on_resumption_token end |
#replay_message_id ⇒ Object (readonly)
Returns the value of attribute replay_message_id.
28 29 30 |
# File 'lib/ruby_llm/mcp/native/transports/streamable_http.rb', line 28 def @replay_message_id end |
#resumption_token ⇒ Object
Returns the value of attribute resumption_token.
27 28 29 |
# File 'lib/ruby_llm/mcp/native/transports/streamable_http.rb', line 27 def resumption_token @resumption_token end |