class WebkitRemote::Event::NetworkLoad
Emitted when a resource finishes loading from the network.
Attributes
resource[R]
@return [WebkitRemote::Client::NetworkResource] information about the
resource fetched by this network operation
timestamp[R]
@return [Number] the event timestamp
Public Class Methods
new(rpc_event, client)
click to toggle source
@private Use Event#for instead of calling this constructor directly.
Calls superclass method
WebkitRemote::Event::new
# File lib/webkit_remote/client/network_events.rb, line 81 def initialize(rpc_event, client) super @timestamp = raw_data['timestamp'] @resource = client.network_resource raw_data['requestId'] @resource.add_event self end