Rayo::App
Inherits Reference < Object
Instance methods
after
Sourceafter_response(ctx : Context) : Nil
Sourcebefore
Sourcecompress_response(ctx : Context) : Nil
Sourcedelete(path : String, &block : Context -> Nil) : Nil
Sourcedispatch(ctx : Context) : Nil
Sourceget(path : String, &block : Context -> Nil) : Nil
Sourcegzip
Sourcegzip=(gzip : Bool)
Sourcegzip_min_size
Sourcegzip_min_size=(gzip_min_size : Int32)
Sourcehead(path : String, &block : Context -> Nil) : Nil
Sourceon_worker_start
Sourceoptions(path : String, &block : Context -> Nil) : Nil
Sourcepatch(path : String, &block : Context -> Nil) : Nil
Sourcepost(path : String, &block : Context -> Nil) : Nil
Sourceput(path : String, &block : Context -> Nil) : Nil
Sourcerouter
Sourcerun(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