enum Protocol::Page::ReferrerPolicy

Overview

The referring-policy used for the navigation.

Defined in:

protocol/page.cr

Enum Members

NoReferrer = 0
NoReferrerWhenDowngrade = 1
Origin = 2
OriginWhenCrossOrigin = 3
SameOrigin = 4
StrictOrigin = 5
StrictOriginWhenCrossOrigin = 6
UnsafeUrl = 7

Instance Method Summary

Class methods inherited from struct Enum

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

Instance Method Detail

def no_referrer? #

[View source]
def no_referrer_when_downgrade? #

[View source]
def origin? #

[View source]
def origin_when_cross_origin? #

[View source]
def same_origin? #

[View source]
def strict_origin? #

[View source]
def strict_origin_when_cross_origin? #

[View source]
def unsafe_url? #

[View source]