class HTTPClient::LoopBackSocket

Dummy Socket for emulating loopback test.

def <<(str)

def <<(str)
  # ignored
end

def initialize(host, port, response)

def initialize(host, port, response)
  super(response.is_a?(StringIO) ? response : StringIO.new(response))
  @host = host
  @port = port
end