class LavinMQ::HTTP::MainController
Included Modules
Defined in:
lavinmq/http/controller/main.cr
Constant Summary
-
CHURN_STATS =
{"connection_created", "connection_closed", "channel_created", "channel_closed", "queue_declared", "queue_deleted"}
-
EXCHANGE_TYPES =
{"direct", "fanout", "topic", "headers", "x-federation-upstream", "x-consistent-hash"}
-
Log =
LavinMQ::Log.for("http.main")
-
OVERVIEW_STATS =
{"ack", "deliver", "get", "deliver_get", "publish", "confirm", "redeliver", "reject"}
add_logs!(logs_a, logs_b)
add_logs!
vhosts(user : User)
vhosts
new(amqp_server : LavinMQ::Server)
new
call(context)
call,
delete(path : String, &block : Action)
delete,
find_route(method, path)
find_route,
get(path : String, &block : Action)
get,
head(path : String, &block : Action)
head,
options(path : String, &block : Action)
options,
patch(path : String, &block : Action)
patch,
post(path : String, &block : Action)
post,
put(path : String, &block : Action)
put