struct Protocol::Network::LoadNetworkResourcePageResult

Overview

An object providing the result of a network resource 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 headers : Network::Headers | Nil #

Response headers.


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

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

Optional values used for error reporting.


[View source]
def net_error_name : String | Nil #

[View source]
def stream : IO::StreamHandle | Nil #

If successful, one of the following two fields holds the result.


[View source]
def success : Bool #

[View source]