module Shot

Defined in:

shot.cr
shot/router.cr
shot/version.cr

Constant Summary

HTTP_VERBS = [:get, :post, :put, :delete, :head, :patch]
VERSION = "0.1.0"

Class Method Summary

Instance Method Summary

Class Method Detail

def self.start(host = "localhost", port = 5000, silent = false) #

[View source]

Instance Method Detail

def delete(path, &block : Router::Callback) #

[View source]
def get(path, &block : Router::Callback) #

[View source]
def head(path, &block : Router::Callback) #

[View source]
def patch(path, &block : Router::Callback) #

[View source]
def post(path, &block : Router::Callback) #

[View source]
def put(path, &block : Router::Callback) #

[View source]