class Launch::Pipe::Pipeline

Overview

This class picks the correct pipeline based on the request and executes it.

Defined in:

launch/pipes/pipeline.cr

Constructors

Instance Method Summary

Instance methods inherited from class Launch::Pipe::Base

call(context : HTTP::Server::Context) call

Instance methods inherited from class Object

blank? blank?, present? present?

Constructor Detail

def self.new(valve : Symbol = :web) #

[View source]

Instance Method Detail

def build(valve : Symbol, &) #

Connects pipes to a pipeline to process requests


[View source]
def build_pipeline(pipes, last_pipe : HTTP::Handler | HTTP::Server::Context -> ) #

[View source]
def call(context : HTTP::Server::Context) #
Description copied from class Launch::Pipe::Base

Execution of this handler.


[View source]
def pipeline : Hash(Symbol, Array(HTTP::Handler)) #

[View source]
def plug(pipe : HTTP::Handler) #

[View source]
def prepare_pipelines #

[View source]
def valve : Symbol #

[View source]