class

Rayo::App

Inherits Reference < Object

Instance methods

after
Source
after_response(ctx : Context) : Nil
Source
before
Source
compress_response(ctx : Context) : Nil
Source
delete(path : String, &block : Context -> Nil) : Nil
Source
dispatch(ctx : Context) : Nil
Source
get(path : String, &block : Context -> Nil) : Nil
Source
gzip
Source
gzip=(gzip : Bool)
Source
gzip_min_size
Source
gzip_min_size=(gzip_min_size : Int32)
Source
head(path : String, &block : Context -> Nil) : Nil
Source
on_worker_start
Source
options(path : String, &block : Context -> Nil) : Nil
Source
patch(path : String, &block : Context -> Nil) : Nil
Source
post(path : String, &block : Context -> Nil) : Nil
Source
put(path : String, &block : Context -> Nil) : Nil
Source
router
Source
run(host = "0.0.0.0", port = 3000, workers = Sys.ncpu, database : String | Nil = ENV["DATABASE_URL"]?, pool : Int32 = 4, ports : Array(Int32) | Nil = nil) : NoReturn
Source