class HAR::CacheRequest
- HAR::CacheRequest
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
har/cache_request.crConstructors
- .new(pull : JSON::PullParser)
- .new(expires : Bool | String | Nil = nil, last_access : Nil | String = nil, etag : Nil | String = nil, hit_count : Int32 | Nil = nil, comment : Nil | String = nil)
Instance Method Summary
-
#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.
- #etag : String | Nil
- #etag=(etag : String | Nil)
-
#expires : String | Bool | Nil
Expiration time of the cache entry.
-
#expires=(expires : String | Bool | Nil)
Expiration time of the cache entry.
- #hit_count : Int32 | Nil
- #hit_count=(hit_count : Int32 | Nil)
- #last_access : String | Nil
- #last_access=(last_access : String | Nil)
Constructor Detail
def self.new(expires : Bool | String | Nil = nil, last_access : Nil | String = nil, etag : Nil | String = nil, hit_count : Int32 | Nil = nil, comment : Nil | String = nil)
#