Class: Excon::Socket
- Inherits:
-
Object
- Object
- Excon::Socket
- Defined in:
- lib/httplog/adapters/excon.rb
Instance Method Summary collapse
Instance Method Details
#connect ⇒ Object
7 8 9 10 11 12 |
# File 'lib/httplog/adapters/excon.rb', line 7 def connect host = @data[:proxy] ? @data[:proxy][:host] : @data[:host] port = @data[:proxy] ? @data[:proxy][:port] : @data[:port] HttpLog.log_connection(host, port) orig_connect end |
#orig_connect ⇒ Object
6 |
# File 'lib/httplog/adapters/excon.rb', line 6 alias orig_connect connect |