Class: ChromeDebugger::RequestWillBeSent

Inherits:
Notification show all
Defined in:
lib/chrome_debugger/request_will_be_sent.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

#requestObject



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

def request
  @params['request']
end

#timestampObject



10
11
12
# File 'lib/chrome_debugger/request_will_be_sent.rb', line 10

def timestamp
  @params['timestamp'].to_f
end