Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
prax-cr
master
ENV
Prax
Application
ApplicationNotFound
BadRequest
Error
ErrorStartingApplication
Handler
Middleware
Middlewares
Base
ProxyMiddleware
PublicFileMiddleware
WelcomeMiddleware
Monitor
NotImplementedError
Parser
Common
Header
Headers
InvalidRequest
Request
Response
Path
Server
Spawner
Views
Built with Crystal 1.9.2
2023-10-08 08:48:38 UTC
class
Prax::Middleware
Prax::Middleware
Reference
Object
Defined in:
prax/middleware.cr
Constructors
.new
(&)
Instance Method Summary
#add
(middleware)
#middlewares
: Array(Prax::Middlewares::Base)
#run
(handler)
Constructor Detail
def self.
new
(&)
#
[
View source
]
Instance Method Detail
def
add
(middleware)
#
[
View source
]
def
middlewares
: Array(
Prax::Middlewares::Base
)
#
[
View source
]
def
run
(handler)
#
[
View source
]