Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Router
Inherits
Reference
<
Object
Constants
BASE_URL = "/api/v1"
Constructors
new
Source
Instance methods
addRoute
(method :
String
, path :
String
, auth :
Bool
= false, &block :
Proc
(
HTTP::Server::Context
,
Nil
))
Source
handle
(context :
HTTP::Server::Context
)
Source