Top Level Namespace
Defined in:
Method Summary
-
serve(&handler : Tiny::Request, Tiny::Response -> _)
Bootstrap the Tiny service
Method Detail
Bootstrap the Tiny service
Accepts a block with parameters request
and response
,
which can be used to handle incoming requests
serve do |request, response|
# Your service code here...
end