class Raze::ServerHandler

Overview

The main server handler.

Included Modules

Defined in:

raze/server_handler.cr

Constant Summary

INSTANCE = new

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def add_stack(method, path, stack) #

Adds a stack to the tree

NOTE This method is only ran at server startup so the extra internal sanity checks will not affect server performance


[View source]
def call(ctx) #

[View source]
def clear_tree #

[View source]
def tree : Raze::Radix(Raze::Stack) #

the radix tree of defined paths and the associated stacks


[View source]