Class: RubyLLM::MCP::Transports::Support::HTTPClient

Inherits:
Object
  • Object
show all
Defined in:
lib/swarm_sdk/ruby_llm_patches/mcp_ssl_patch.rb

Class Method Summary collapse

Class Method Details

.build_connectionObject



69
70
71
72
73
74
75
76
77
# File 'lib/swarm_sdk/ruby_llm_patches/mcp_ssl_patch.rb', line 69

def build_connection
  HTTPX.with(
    pool_options: {
      max_connections: RubyLLM::MCP.config.max_connections,
      pool_timeout: RubyLLM::MCP.config.pool_timeout,
    },
    ssl: SwarmSDK::McpSslPatch.ssl_options,
  )
end