class HTTP::Server::Context

Overview

Instances of this class are passed to an HTTP::Server handler.

Defined in:

ext/http-server-context.cr

Instance Method Summary

Instance Method Detail

def body : String #

[View source]
def command : String #

[View source]
def db #

[View source]
def db=(db : DB::Connection | Nil) #

[View source]
def end_request #

[View source]
def endpoint : String #

[View source]
def endpoint=(val : String) #

[View source]
def engine #

[View source]
def engine=(val : Slack::Cli::Engine) #

[View source]
def get_tokens(text : String) : Array(String) #

[View source]
def load_tokens_from_history(hist : String) #

[View source]
def local : Hash(String, String) #

[View source]
def local=(local : Hash(String, String)) #

[View source]
def log_error(msg : String) #

[View source]
def log_info(msg : String) #

[View source]
def log_warn(msg : String) #

[View source]
def params : Hash(String, String) #

[View source]
def process_body(body : String) #

[View source]
def respond(content : String) #

[View source]
def start_request(logger : ::Log) #

[View source]
def t_start : Time #

[View source]
def tokens : Array(String) #

[View source]