class Halite::Feature::Chain
- Halite::Feature::Chain
- Reference
- Object
Overview
Feature chain
Chain has two result:
next: perform and run next interceptor return: perform and return
Defined in:
halite/feature.crConstructors
Instance Method Summary
- #next(response : Nil | Halite::Response)
- #perform
- #performed?
- #request : Halite::Request
- #request=(request : Halite::Request)
- #response : Halite::Response?
- #result : Halite::Feature::Chain::Result
- #return(response : Nil | Halite::Response)
Constructor Detail
def self.new(request : Halite::Request, response : Halite::Response | Nil, options : Halite::Options, &block : -> Halite::Response)
#