class Lambda::Builder::Runtime

Defined in:

lambda_builder/runtime.cr

Constant Summary

Log = ::Log.for(self)

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def _process_request(proc : Proc(JSON::Any, JSON::Any)) #

[View source]
def handlers : Hash(String, JSON::Any -> JSON::Any) #

[View source]
def host : String #

[View source]
def port : Int16 #

[View source]
def process_handler #

[View source]
def register_handler(name : String, &handler : JSON::Any -> JSON::Any) #

Associate the block/proc to the function name


[View source]
def run #

[View source]