struct Azu::Handler::Origin

Defined in:

azu/handler/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]