struct Halite::Options::Follow

Defined in:

halite/options/follow.cr

Constant Summary

DEFAULT_HOPS = 0

No follow by default

MAX_HOPS = 5

A maximum of 5 subsequent redirects

STRICT = true

Redirector hops policy

Constructors

Instance Method Summary

Constructor Detail

def self.new(hops : Int32 | Nil = nil, strict : Bool | Nil = nil) #

[View source]

Instance Method Detail

def hops : Int32 #

[View source]
def hops=(hops : Int32) #

[View source]
def strict : Bool #

[View source]
def strict=(strict : Bool) #

[View source]
def strict? #

[View source]
def updated? #

[View source]