enum Protocol::Network::CookieBlockedReason

Overview

Types of reasons why a cookie may not be sent with a request.

Defined in:

protocol/network.cr

Enum Members

SecureOnly = 0
NotOnPath = 1
DomainMismatch = 2
SameSiteStrict = 3
SameSiteLax = 4
SameSiteUnspecifiedTreatedAsLax = 5
SameSiteNoneInsecure = 6
UserPreferences = 7
UnknownError = 8
SchemefulSameSiteStrict = 9
SchemefulSameSiteLax = 10
SchemefulSameSiteUnspecifiedTreatedAsLax = 11
SamePartyFromCrossPartyContext = 12
NameValuePairExceedsMaxSize = 13

Instance Method Summary

Class methods inherited from struct Enum

parse?(string : String) : self | Nil parse?

Instance Method Detail

def domain_mismatch? #

[View source]
def name_value_pair_exceeds_max_size? #

[View source]
def not_on_path? #

[View source]
def same_party_from_cross_party_context? #

[View source]
def same_site_lax? #

[View source]
def same_site_none_insecure? #

[View source]
def same_site_strict? #

[View source]
def same_site_unspecified_treated_as_lax? #

[View source]
def schemeful_same_site_lax? #

[View source]
def schemeful_same_site_strict? #

[View source]
def schemeful_same_site_unspecified_treated_as_lax? #

[View source]
def secure_only? #

[View source]
def unknown_error? #

[View source]
def user_preferences? #

[View source]