Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
module
CORS
Constants
ALLOWED_HEADERS = "
Content
-
Type
,
Authorization
,
X
-
CSRF
-
Token
"
ALLOWED_METHODS = "
GET
,
POST
,
PUT
,
PATCH
,
DELETE
,
OPTIONS
"
ALLOWED_ORIGINS = {"http://localhost:8080"}
Class methods
handle
(context :
HTTP::Server::Context
) :
Bool
Source