Class: HTTPClient::Session

Inherits:
Object
  • Object
show all
Defined in:
lib/susu/http_lib/httpclient.rb

Instance Method Summary collapse

Instance Method Details

#create_socket(host, port) ⇒ Object



37
38
39
40
41
# File 'lib/susu/http_lib/httpclient.rb', line 37

def create_socket(site)
  Susu.log_connection(site.host, site.port)
  # end
  orig_create_socket(site)
end

#orig_create_socketObject



32
# File 'lib/susu/http_lib/httpclient.rb', line 32

alias_method :orig_create_socket, :create_socket