Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
bradach
master
Bradach
CORS
Error
Result
Generated using Crystal 1.16.0
2025-04-24 18:33:47 UTC
class
Bradach::
CORS
Bradach::CORS
Reference
Object
Overview
A little CORS HTTP::Handler for allowing JSON
Included Modules
HTTP::Handler
Defined in:
bradach.cr
Constructors
.new
(origins : String)
Instance Method Summary
#call
(context : HTTP::Server::Context)
Constructor Detail
def self.
new
(origins : String)
#
[
View source
]
Instance Method Detail
def
call
(context : HTTP::Server::Context)
#
[
View source
]