struct Protocol::Network::RequestWillBeSentExtraInfo

Overview

Fired when additional information about a requestWillBeSent event is available from the network stack. Not every requestWillBeSent event will have an additional requestWillBeSentExtraInfo fired for it, and there is no guarantee whether requestWillBeSent or requestWillBeSentExtraInfo will be fired first for the same request.

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 associated_cookies : Array(BlockedCookieWithReason) #

A list of cookies potentially associated to the requested URL. This includes both cookies sent with the request and the ones not sent; the latter are distinguished by having blockedReason field set.


[View source]
def client_security_state : ClientSecurityState | Nil #

The client security state set for the request.


[View source]
def connect_timing : ConnectTiming #

Connection timing information for the request.


[View source]
def headers : Headers #

Raw request headers as they will be sent over the wire.


[View source]
def request_id : RequestId #

Request identifier. Used to match this information to an existing requestWillBeSent event.


[View source]