Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
unslash
v1.0.0
Unslash
Handler
Built with Crystal 1.9.2
2023-10-08 13:29:17 UTC
class
Unslash::Handler
Unslash::Handler
Reference
Object
Included Modules
HTTP::Handler
Defined in:
unslash/handler.cr
Constructors
.new
(status : HTTP::Status =
:permanent_redirect
, *, safe : Bool =
false
)
.new
(status_code, *, safe)
Instance Method Summary
#call
(context : HTTP::Server::Context) : Nil
Constructor Detail
def self.
new
(status : HTTP::Status =
:permanent_redirect
, *, safe : Bool =
false
)
#
[
View source
]
def self.
new
(status_code, *, safe)
#
[
View source
]
Instance Method Detail
def
call
(context : HTTP::Server::Context) : Nil
#
[
View source
]