Class: HttpArchive::Entry
- Inherits:
-
Object
- Object
- HttpArchive::Entry
- Defined in:
- lib/http_archive/classes.rb
Overview
Holds information for every single interaction of the browser with the page. Entry objects hold the request and response data in seperate objects.
Instance Attribute Summary collapse
-
#cache ⇒ Hash
Info about cache usage for this interaction.
-
#connection ⇒ String
Client or server port number.
-
#pageref ⇒ String
Returns the reference to the parent page.
-
#request ⇒ Request
Request data for this interaction.
-
#response ⇒ Response
Response data for this interaction.
-
#server_ip_address ⇒ String
IP address of the server.
-
#started_datetime ⇒ String
Returns the datetime as string when loading of this element started.
-
#time ⇒ Fixnum
Duration of the load time of this interaction.
-
#timings ⇒ Hash
Info about Request/Response round trip.
Instance Attribute Details
#cache ⇒ Hash
Info about cache usage for this interaction
62 63 64 |
# File 'lib/http_archive/classes.rb', line 62 def cache @cache end |
#connection ⇒ String
Client or server port number
73 74 75 |
# File 'lib/http_archive/classes.rb', line 73 def connection @connection end |
#pageref ⇒ String
Returns the reference to the parent page
47 48 49 |
# File 'lib/http_archive/classes.rb', line 47 def pageref @pageref end |
#request ⇒ Request
Request data for this interaction
56 57 58 |
# File 'lib/http_archive/classes.rb', line 56 def request @request end |
#response ⇒ Response
Response data for this interaction
59 60 61 |
# File 'lib/http_archive/classes.rb', line 59 def response @response end |
#server_ip_address ⇒ String
IP address of the server
70 71 72 |
# File 'lib/http_archive/classes.rb', line 70 def server_ip_address @server_ip_address end |
#started_datetime ⇒ String
Returns the datetime as string when loading of this element started
50 51 52 |
# File 'lib/http_archive/classes.rb', line 50 def started_datetime @started_datetime end |
#time ⇒ Fixnum
Duration of the load time of this interaction
53 54 55 |
# File 'lib/http_archive/classes.rb', line 53 def time @time end |
#timings ⇒ Hash
Info about Request/Response round trip
67 68 69 |
# File 'lib/http_archive/classes.rb', line 67 def timings @timings end |