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 | Nil, options : Halite::Options, &block : -> Halite::Response) #

[View source]

Instance Method Detail

def next(response : Nil | Halite::Response) #

[View source]
def perform #

[View source]
def performed? #

[View source]
def request : Halite::Request #

[View source]
def request=(request : Halite::Request) #

[View source]
def response : Halite::Response? #

[View source]

[View source]
def return(response : Nil | Halite::Response) #

[View source]