class HAR::Entry
- HAR::Entry
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
har/entry.crConstructors
- .new(request : HAR::Request, response : HAR::Response, pageref : Nil | String = nil, started_date_time : String | Time = Time.utc, time : Float64 | Nil = nil, cache : Nil | HAR::Cache = nil, timings : Nil | HAR::Timings = nil, server_ip_address : Nil | String = nil, connection : Nil | String = nil, comment : Nil | String = nil, websocket_messages : Nil | Array(HAR::WebSocketMessage) = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#cache : Cache | Nil
Info about cache usage.
-
#cache=(cache : Cache | Nil)
Info about cache usage.
-
#comment : String | Nil
A comment provided by the user or the application.
-
#comment=(comment : String | Nil)
A comment provided by the user or the application.
-
#connection : String | Nil
Unique ID of the parent TCP/IP connection, can be the client or server port number.
-
#connection=(connection : String | Nil)
Unique ID of the parent TCP/IP connection, can be the client or server port number.
-
#pageref : String | Nil
Reference to the parent page.
-
#pageref=(pageref : String | Nil)
Reference to the parent page.
-
#request : Request
Detailed info about the request.
-
#request=(request : Request)
Detailed info about the request.
-
#response : Response
Detailed info about the response.
-
#response=(response : Response)
Detailed info about the response.
- #server_ip_address : String | Nil
- #server_ip_address=(server_ip_address : String | Nil)
- #started_date_time : Time | String
- #started_date_time=(started_date_time : Time | String)
-
#time : Float64 | Nil
Total elapsed time of the request in milliseconds.
-
#time=(time : Float64 | Nil)
Total elapsed time of the request in milliseconds.
-
#timings : Timings | Nil
Detailed timing info about request/response round trip.
-
#timings=(timings : Timings | Nil)
Detailed timing info about request/response round trip.
- #websocket_messages : Array(WebSocketMessage) | Nil
- #websocket_messages=(websocket_messages : Array(WebSocketMessage) | Nil)
Constructor Detail
Instance Method Detail
Unique ID of the parent TCP/IP connection, can be the client or server port number. Note that a port number doesn't have to be unique identifier in cases where the port is shared for more connections. If the port isn't available for the application, any other unique connection ID can be used instead (e.g. connection index).
Unique ID of the parent TCP/IP connection, can be the client or server port number. Note that a port number doesn't have to be unique identifier in cases where the port is shared for more connections. If the port isn't available for the application, any other unique connection ID can be used instead (e.g. connection index).
Reference to the parent page. Leave out this field if the application does not support grouping by pages.
Reference to the parent page. Leave out this field if the application does not support grouping by pages.
Total elapsed time of the request in milliseconds. This is the sum of all
timings available in the timings object (i.e. not including -1
values) .
Total elapsed time of the request in milliseconds. This is the sum of all
timings available in the timings object (i.e. not including -1
values) .
Detailed timing info about request/response round trip.