abstract class Grip::Application
- Grip::Application
- Reference
- Object
Overview
Grip::Application
is a building class which initializes the crucial parts of the
web-framework.
class Application < Grip::Application
def routes
pipeline :api, [
Pipes::PoweredByHeader.new,
]
end
end
app = Application.new
app.run
Included Modules
Defined in:
grip/application.crConstructors
Instance Method Summary
- #authorizations : Array(Swagger::Authorization)
- #cert_file : String
- #contact : Swagger::Contact | Nil
- #custom : Array(HTTP::Handler)
- #description : String
- #document : Swagger::Builder
- #host : String
- #key_file : String
- #license : Swagger::License | Nil
- #port : Int32
- #reuse_port : Bool
- #root : Array(HTTP::Handler)
- #routes
- #run
- #server : HTTP::Server
- #ssl : Bool
- #terms_url : String
- #title : String
- #version : String