Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
pennant
main
Pennant
Actor
Adapter
Configuration
Feature
MemoryAdapter
PercentageOfTimeFeature
RedisAdapter
InvalidSetting
PercentageOfTime
ToggleFeature
Web
Redis
Commands
Built with Crystal 1.9.2
2023-10-07 17:01:50 UTC
class
Pennant::Web
Pennant::Web
Reference
Object
Included Modules
HTTP::Handler
Defined in:
web.cr
Constructors
.new
(mount_at path : String)
Instance Method Summary
#call
(context)
#create
(request, response)
#delete
(request, response)
#homepage
(response)
#not_found
(response)
Constructor Detail
def self.
new
(mount_at path : String)
#
[
View source
]
Instance Method Detail
def
call
(context)
#
[
View source
]
def
create
(request, response)
#
[
View source
]
def
delete
(request, response)
#
[
View source
]
def
homepage
(response)
#
[
View source
]
def
not_found
(response)
#
[
View source
]