struct Protocol::CacheStorage::DataEntry

Overview

Data entry.

Included Modules

Defined in:

protocol/cache_storage.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def request_headers : Array(Header) #

Request headers


[View source]
def request_method : String #

Request method.


[View source]
def request_url : String #

Request URL.


[View source]
def response_headers : Array(Header) #

Response headers


[View source]
def response_status : Int::Primitive #

HTTP response status code.


[View source]
def response_status_text : String #

HTTP response status text.


[View source]
def response_time : Number::Primitive #

Number of seconds since epoch.


[View source]
def response_type : CachedResponseType #

HTTP response type


[View source]