enum Protocol::Network::SetCookieBlockedReason

Overview

Types of reasons why a cookie may not be stored from a response.

Defined in:

protocol/network.cr

Enum Members

SecureOnly = 0
SameSiteStrict = 1
SameSiteLax = 2
SameSiteUnspecifiedTreatedAsLax = 3
SameSiteNoneInsecure = 4
UserPreferences = 5
SyntaxError = 6
SchemeNotSupported = 7
OverwriteSecure = 8
InvalidDomain = 9
InvalidPrefix = 10
UnknownError = 11
SchemefulSameSiteStrict = 12
SchemefulSameSiteLax = 13
SchemefulSameSiteUnspecifiedTreatedAsLax = 14
SamePartyFromCrossPartyContext = 15
SamePartyConflictsWithOtherAttributes = 16
NameValuePairExceedsMaxSize = 17

Instance Method Summary

Class methods inherited from struct Enum

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

Instance Method Detail

def invalid_domain? #

[View source]
def invalid_prefix? #

[View source]
def name_value_pair_exceeds_max_size? #

[View source]
def overwrite_secure? #

[View source]
def same_party_conflicts_with_other_attributes? #

[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 scheme_not_supported? #

[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 syntax_error? #

[View source]
def unknown_error? #

[View source]
def user_preferences? #

[View source]