abstract struct
Kemal::Controller
- Kemal::Controller
- Struct
- Value
- Object
Defined in:
kemal/controller.crConstructors
Instance Method Summary
- #context : HTTP::Server::Context
- #error(field, message, status : HTTP::Status | Nil = nil)
- #error(message : String)
- #error_for?(field : String) : String | Nil
- #error_for_base : String | Nil
- #errors : Errors | Nil
- #has_error? : Bool
- #redirect(*args, **options)
- #redirect(*args, **options, &)
- #request(*args, **options)
- #request(*args, **options, &)
- #response(*args, **options)
- #response(*args, **options, &)
- #session(*args, **options)
- #session(*args, **options, &)