Class: MCPClient::HttpTransportBase::NormalizedResponse

Inherits:
Struct
  • Object
show all
Defined in:
lib/mcp_client/http_transport_base.rb

Overview

Lightweight response wrapper for Faraday exception payloads (Hashes), so the exception path and the default path share one challenge pipeline.

Instance Attribute Summary collapse

Instance Attribute Details

#headersObject

Returns the value of attribute headers

Returns:

  • (Object)

    the current value of headers



14
15
16
# File 'lib/mcp_client/http_transport_base.rb', line 14

def headers
  @headers
end

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



14
15
16
# File 'lib/mcp_client/http_transport_base.rb', line 14

def status
  @status
end