class HAR::Cache

Overview

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

Included Modules

Defined in:

har/cache.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(before_request : Nil | HAR::CacheRequest = nil, after_request : Nil | HAR::CacheRequest = nil, comment : Nil | String = nil) #

[View source]

Instance Method Detail

def after_request : CacheRequest | Nil #

[View source]
def after_request=(after_request : CacheRequest | Nil) #

[View source]
def before_request : CacheRequest | Nil #

[View source]
def before_request=(before_request : CacheRequest | Nil) #

[View source]
def comment : String | Nil #

A comment provided by the user or the application.


[View source]
def comment=(comment : String | Nil) #

A comment provided by the user or the application.


[View source]