struct Protocol::Network::LoadingFailed

Overview

Fired when HTTP request has failed to load.

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 blocked_reason : BlockedReason | Nil #

The reason why loading was blocked, if any.


[View source]
def canceled : Bool | Nil #

True if loading was canceled.


[View source]
def cors_error_status : CorsErrorStatus | Nil #

The reason why loading was blocked by CORS, if any.


[View source]
def error_text : String #

User friendly error message.


[View source]
def request_id : RequestId #

Request identifier.


[View source]
def timestamp : MonotonicTime #

Timestamp.


[View source]
def type : ResourceType #

Resource type.


[View source]