class

HAR::Cache

Inherits JSON::Serializable < Reference < Object

This objects contains info about a request coming from browser cache.

Constructors

new(before_request : Nil | HAR::CacheRequest = nil, after_request : Nil | HAR::CacheRequest = nil, comment : Nil | String = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

after_request

State of a cache entry after the request.

Source
after_request=(after_request : CacheRequest | Nil)

State of a cache entry after the request.

Source
before_request

State of a cache entry before the request.

Source
before_request=(before_request : CacheRequest | Nil)

State of a cache entry before the request.

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