struct Protocol::Network::BlockedSetCookieWithReason

Overview

A cookie which was not stored from a response with the corresponding reason.

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_reasons : Array(SetCookieBlockedReason) #

The reason(s) this cookie was blocked.


[View source]
def cookie : Cookie | Nil #

The cookie object which represents the cookie which was not stored. It is optional because sometimes complete cookie information is not available, such as in the case of parsing errors.


[View source]
def cookie_line : String #

The string representing this individual cookie as it would appear in the header. This is not the entire "cookie" or "set-cookie" header which could have multiple cookies.


[View source]