module Croda::CrodaPlugins::Base::RequestMethods

Direct including types

Defined in:

croda/plugins/base.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(scope, request : HTTP::Request, response : Croda::CrodaResponse) #

[View source]

Instance Method Detail

def always(&) : Nil #

[View source]
def block_result(result) #

[View source]
def block_result_body(result : String) #

[View source]
def block_result_body(result : Nil) #

[View source]
def get(arg, &) : Nil #

[View source]
def get(&) : Nil #

[View source]
def halt #

[View source]
def headers : HTTP::Headers #

[View source]
def is(arg, &) : Nil #

[View source]
def is(&) : Nil #

[View source]
def matched_path : String #

[View source]
def method : String #

[View source]
def on(arg, &) : Nil #

[View source]
def on(&) : Nil #

[View source]
def post(arg, &) : Nil #

[View source]
def post(&) : Nil #

[View source]
def redirect(path, status = 302) #

[View source]
def remaining_path : String #

[View source]
def remaining_path=(remaining_path : String) #

[View source]
def root(&) : Nil #

[View source]