enum Protocol::Network::CookieSourceScheme

Overview

Represents the source scheme of the origin that originally set the cookie. A value of "Unset" allows protocol clients to emulate legacy cookie scope for the scheme. This is a temporary ability and it will be removed in the future.

Defined in:

protocol/network.cr

Enum Members

Unset = 0
NonSecure = 1
Secure = 2

Instance Method Summary

Class methods inherited from struct Enum

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

Instance Method Detail

def non_secure? #

[View source]
def secure? #

[View source]
def unset? #

[View source]