class Halite::Feature::Chain

Overview

Feature chain

Chain has two result:

next: perform and run next interceptor return: perform and return

Defined in:

halite/feature.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(request : Halite::Request, response : Halite::Response?, options : Halite::Options, &block : -> Halite::Response) #

Instance Method Detail

def next(response) #

def perform #

def performed? #

def request : Halite::Request #

def request=(request) #

def response : Halite::Response? #


def return(response) #