struct Protocol::Fetch::AuthRequired

Overview

Issued when the domain is enabled with handleAuthRequests set to true. The request is paused until client responds with continueWithAuth.

Included Modules

Defined in:

protocol/fetch.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def auth_challenge : AuthChallenge #

Details of the Authorization Challenge encountered. If this is set, client should respond with continueRequest that contains AuthChallengeResponse.


[View source]
def frame_id : Page::FrameId #

The id of the frame that initiated the request.


[View source]
def request : Network::Request #

The details of the request.


[View source]
def request_id : RequestId #

Each request the page makes will have a unique id.


[View source]
def resource_type : Network::ResourceType #

How the requested resource will be used.


[View source]