class HTTPClient::LoopBackSocket
Dummy Socket for emulating loopback test.
Public Class Methods
Source
# File lib/httpclient/session.rb, line 417 def initialize(host, port, response) super(response.is_a?(StringIO) ? response : StringIO.new(response)) @host = host @port = port end
Calls superclass method
HTTPClient::SocketWrap::new