struct Protocol::Network::CachedResource

Overview

Information about the cached resource.

Included Modules

Defined in:

protocol/network.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def body_size : Number::Primitive #

Cached response body size.


[View source]
def response : Response | Nil #

Cached response data.


[View source]
def type : ResourceType #

Type of this resource.


[View source]
def url : String #

Resource URL. This is the url of the original network request.


[View source]