class Orion::Server::Request

Defined in:

orion/server/request.cr

Instance Method Summary

Instance methods inherited from class HTTP::Request

action : Orion::Action | Nil action, action=(action : Orion::Action | Nil) action=, base_path : String base_path, base_path=(base_path : String) base_path=, format format, formats formats, path_params path_params

Instance Method Detail

def action : Orion::Action | Nil #

[View source]
def action=(action : Orion::Action | Nil) #

[View source]
def base_path : String #

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

[View source]
def format #

The format of the http request


[View source]
def formats #

The formats of the http request


[View source]
def path=(new_path) #
Description copied from class HTTP::Request

Sets request's path component.


[View source]
def path_params #

Returns the list of path params set by an Orion route.


[View source]
def path_params=(path_params : Hash(String, String) | Nil) #

[View source]
def reset_path! #

The original path of the request


[View source]