class Runcobo::Healthcheck

Overview

Adds Healthcheck Action to App.

There should be at least two nodes(Action) in the radix tree.

Keeps this action present to keep two nodes.

Defined in:

runcobo/actions/healthcheck.cr

Instance Method Summary

Instance methods inherited from class Runcobo::Action

call call, context : HTTP::Server::Context context, context=(context : HTTP::Server::Context) context=, raw_body : String | Nil raw_body, request : HTTP::Request request, request=(request : HTTP::Request) request=

Constructor methods inherited from class Runcobo::Action

new(context : HTTP::Server::Context) new

Macros inherited from class Runcobo::Action

call(&body) call

Instance methods inherited from module Runcobo::Validation

max_request_body_size : Int64 max_request_body_size

Instance methods inherited from module Runcobo::Filters

byebye byebye, continue continue

Macros inherited from module Runcobo::Filters

after(method) after, before(method) before, skip(method) skip

Instance methods inherited from module Runcobo::Render

render_body(body : String, *, status_code : Int32 = 200, content_type : String | Nil = nil) : HTTP::Server::Context render_body, render_empty(*, status_code : Int32 = 200, content_type : String | Nil = nil) : HTTP::Server::Context render_empty, render_file(path : String, *, status_code : Int32 = 200, content_type : String | Nil, filename : String | Nil = nil, disposition : String = "attachment") : HTTP::Server::Context render_file, render_json(value, *, status_code : Int32 = 200) : HTTP::Server::Context render_json, render_plain(text : String, *, status_code : Int32 = 200) : HTTP::Server::Context render_plain

Macros inherited from module Runcobo::Render

layout(filename) layout, render(*, layout = :inherit, status_code = 200, dir = nil, layout_dir = nil, engine = nil)
render(template, *, layout = :inherit, status_code = 200, dir = nil, layout_dir = nil, engine = nil)
render
, render_jbuilder(filename, *, layout = :inherit, status_code = 200, dir = nil, layout_dir = nil) render_jbuilder, render_to_string(*, layout = :inherit, dir = nil, layout_dir = nil, engine = nil)
render_to_string(template, *, layout = :inherit, dir = nil, layout_dir = nil, engine = nil)
render_to_string
, render_water(filename, *, layout = :inherit, status_code = 200, dir = nil, layout_dir = nil) render_water

Instance methods inherited from module Runcobo::Redirector

redirect(url : String, *, status_code : Int32 = 302) redirect

Instance Method Detail

def call #

[View source]