class Orion::Server::Request

Defined in:

orion/server/request.cr

Instance Method Summary

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]