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 #

def action=(action : Orion::Action | Nil) #

def base_path : String #

def base_path=(base_path : String) #

def format #

The format of the http request


def formats #

The formats of the http request


def jwt_payload : Hash(String, JSON::Any) | Nil #

def jwt_payload=(jwt_payload : Hash(String, JSON::Any) | Nil) #

def path=(new_path) #

def path_params #

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


def path_params=(path_params : Hash(String, String) | Nil) #

def reset_path! #

The original path of the request