struct Protocol::Page::FrameResource

Overview

Information about the Resource on the page.

Included Modules

Defined in:

protocol/page.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def canceled : Bool | Nil #

True if the resource was canceled during loading.


[View source]
def content_size : Number::Primitive | Nil #

Resource content size.


[View source]
def failed : Bool | Nil #

True if the resource failed to load.


[View source]
def last_modified : Network::TimeSinceEpoch | Nil #

last-modified timestamp as reported by server.


[View source]
def mime_type : String #

Resource mimeType as determined by the browser.


[View source]

Type of this resource.


[View source]
def url : String #

Resource URL.


[View source]