class

HAR::Entry

Inherits JSON::Serializable < Reference < Object

Constructors

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)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

cache

Info about cache usage.

Source
cache=(cache : Cache | Nil)

Info about cache usage.

Source
comment

A comment provided by the user or the application.

Source
comment=(comment : String | Nil)

A comment provided by the user or the application.

Source
connection

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).

Source
connection=(connection : String | Nil)

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).

Source
pageref

Reference to the parent page. Leave out this field if the application does not support grouping by pages.

Source
pageref=(pageref : String | Nil)

Reference to the parent page. Leave out this field if the application does not support grouping by pages.

Source
request

Detailed info about the request.

Source
request=(request : Request)

Detailed info about the request.

Source
response

Detailed info about the response.

Source
response=(response : Response)

Detailed info about the response.

Source
server_ip_address

IP address of the server that was connected (result of DNS resolution).

Source
server_ip_address=(server_ip_address : String | Nil)

IP address of the server that was connected (result of DNS resolution).

Source
started_date_time

Date and time stamp of the request start (ISO 8601 - YYYY-MM-DDThh:mm:ss.sTZD).

Source
started_date_time=(started_date_time : Time | String)

Date and time stamp of the request start (ISO 8601 - YYYY-MM-DDThh:mm:ss.sTZD).

Source
time

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) .

Source
time=(time : Float64 | Nil)

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) .

Source
timings

Detailed timing info about request/response round trip.

Source
timings=(timings : Timings | Nil)

Detailed timing info about request/response round trip.

Source
websocket_messages

Optional websocket data

Source
websocket_messages=(websocket_messages : Array(WebSocketMessage) | Nil)

Optional websocket data

Source