class HTTP::Server::Context
- HTTP::Server::Context
- Reference
- Object
Overview
Instances of this class are passed to an HTTP::Server
handler.
Defined in:
ext/http-server-context.crInstance Method Summary
- #body : String
- #command : String
- #db
- #db=(db : DB::Connection | Nil)
- #end_request
- #endpoint : String
- #endpoint=(val : String)
- #engine
- #engine=(val : Slack::Cli::Engine)
- #get_tokens(text : String) : Array(String)
- #load_tokens_from_history(hist : String)
- #local : Hash(String, String)
- #local=(local : Hash(String, String))
- #log_error(msg : String)
- #log_info(msg : String)
- #log_warn(msg : String)
- #params : Hash(String, String)
- #process_body(body : String)
- #respond(content : String)
- #start_request(logger : ::Log)
- #t_start : Time
- #tokens : Array(String)