Class: VectorMCP::Transport::SSE::ClientConnection

Inherits:
Struct
  • Object
show all
Defined in:
lib/vector_mcp/transport/sse.rb

Overview

Internal structure to hold client connection state, including its unique ID, a message queue for outbound messages, and the Async task managing its stream.

Instance Attribute Summary collapse

Instance Attribute Details

#idObject (readonly)

String The unique ID for this client connection (session_id).



50
# File 'lib/vector_mcp/transport/sse.rb', line 50

ClientConnection = Struct.new(:id, :queue, :task)

#queueObject (readonly)

Async::Queue The queue for messages to be sent to this client.



50
# File 'lib/vector_mcp/transport/sse.rb', line 50

ClientConnection = Struct.new(:id, :queue, :task)

#taskObject

Async::Task The task managing the SSE stream for this client.



50
# File 'lib/vector_mcp/transport/sse.rb', line 50

ClientConnection = Struct.new(:id, :queue, :task)