abstract class Cossack::Middleware
- Cossack::Middleware
- Reference
- Object
Direct Known Subclasses
Defined in:
cossack/middleware/middleware.crConstructors
Instance Method Summary
-
#__set_app__(app : Cossack::Connection | Cossack::Middleware | Cossack::Request -> Cossack::Response)
Internal public method.
- #app : Cossack::Connection | Cossack::Middleware | Cossack::Request -> Cossack::Response
- #call(request : Request) : Response
Constructor Detail
def self.new(app : Cossack::Connection | Cossack::Middleware | Cossack::Request -> Cossack::Response)
#
Instance Method Detail
def __set_app__(app : Cossack::Connection | Cossack::Middleware | Cossack::Request -> Cossack::Response)
#
Internal public method. Used in Client to swap a connection.