Class: ChromeDebugger::ResponseReceived

Inherits:
Notification show all
Defined in:
lib/chrome_debugger/response_received.rb

Instance Attribute Summary

Attributes inherited from Notification

#method

Instance Method Summary collapse

Methods inherited from Notification

#initialize, #request_id, #resource_type

Constructor Details

This class inherits a constructor from ChromeDebugger::Notification

Instance Method Details

#bytesObject



6
7
8
# File 'lib/chrome_debugger/response_received.rb', line 6

def bytes
  @params['response']['headers']['Content-Length'].to_i
end