class Armature::Route::Request

Defined in:

route.cr

Constructors

Instance Method Summary

Macro Summary

Constructor Detail

def self.new(request : HTTP::Request, response : Armature::Route::Response, session : Armature::Session) #

[View source]

Instance Method Detail

def body(*args, **options) #

[View source]
def body(*args, **options, &) #

[View source]
def cookies(*args, **options) #

[View source]
def cookies(*args, **options, &) #

[View source]
def delete(capture : Symbol, &) #

[View source]
def delete(path : String, &) #

[View source]
def delete(&) #

[View source]
def form_params : URI::Params #

[View source]
def get(capture : Symbol, &) #

[View source]
def get(path : String, &) #

[View source]
def get(&) #

[View source]
def handled! #

[View source]
def handled? #

[View source]
def headers(*args, **options) #

[View source]
def headers(*args, **options, &) #

[View source]
def headers=(arg) #

[View source]
def is(path : String = "", &) #

[View source]
def is(path : Symbol, &) #

[View source]
def json? #

[View source]
def match?(segment : String, matcher : Int8.class) #

[View source]
def match?(segment : String, matcher : Int16.class) #

[View source]
def match?(segment : String, matcher : Int32.class) #

[View source]
def match?(segment : String, matcher : Int64.class) #

[View source]
def match?(segment : String, matcher : Int128.class) #

[View source]
def match?(segment : String, matcher : UInt8.class) #

[View source]
def match?(segment : String, matcher : UInt16.class) #

[View source]
def match?(segment : String, matcher : UInt32.class) #

[View source]
def match?(segment : String, matcher : UInt64.class) #

[View source]
def match?(segment : String, matcher : UInt128.class) #

[View source]
def match?(segment : String, matcher : UUID.class) #

[View source]
def match?(segment : String, matcher : Regex) #

[View source]
def match?(segment : String, matcher) #

[View source]
def method(*args, **options) #

[View source]
def method(*args, **options, &) #

[View source]
def miss(&) #

[View source]
def on(path : String, &) #

[View source]
def on(capture : Symbol, &) #

[View source]
def on(*paths : String, &) #

[View source]
def on(**capture, &) #

[View source]
def original_path(*args, **options) #

[View source]
def original_path(*args, **options, &) #

[View source]
def params #

[View source]
def params(*params, &) #

[View source]
def patch(capture : Symbol, &) #

[View source]
def patch(path : String, &) #

[View source]
def patch(&) #

[View source]
def path(*args, **options) #

[View source]
def path(*args, **options, &) #

[View source]
def post(capture : Symbol, &) #

[View source]
def post(path : String, &) #

[View source]
def post(&) #

[View source]
def put(capture : Symbol, &) #

[View source]
def put(path : String, &) #

[View source]
def put(&) #

[View source]
def response : Response #

[View source]
def root(&) #

[View source]
def session : Session #

[View source]
def url : URI #

[View source]

Macro Detail

macro handle_method(*methods) #

[View source]