class Net::HTTP

Public Instance Methods

connect() click to toggle source
# File lib/sv/ext/net_http.rb, line 8
def connect
  path = Pathname.new(address)
  if path.exist?
    @socket = Net::BufferedIO.new UNIXSocket.new address
    on_connect
  else
    orig_connect
  end
end
Also aliased as: orig_connect
orig_connect()
Alias for: connect