class CorsTagger

Defined in:

tagger/taggers/cors.cr

Constant Summary

WORDS = ["origin", "access-control-allow-origin", "access-control-request-method"]

Constructors

Instance Method Summary

Instance methods inherited from class Tagger

name : String name, perform(endpoints : Array(Endpoint)) : Array(Endpoint) perform

Constructor methods inherited from class Tagger

new(options : Hash(String, String)) new

Constructor Detail

def self.new(options : Hash(String, String)) #

[View source]

Instance Method Detail

def perform(endpoints : Array(Endpoint)) #

[View source]