struct Amber::Pipe::Origin

Defined in:

amber/pipes/cors.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(origins : CORS::OriginType) #

[View source]

Instance Method Detail

def any? #

[View source]
def match?(request) #

[View source]
def request_origin : String | Nil #

[View source]