module

Orion::Controller

Inherits Orion::Controller::ResponseHelpers < Orion::Controller::RequestHelpers < Orion::Controller::Rendering

The Orion::Controller module can be included in any struct or class to add the various helpers methods to make constructing your application easier.

Constructors

new(context, websocket = nil)

Initialize a new controller.

Source

Instance methods

context

The http context

Source
websocket

The websocket, if the controller was initialized from a ws route.

Source
websocket?

The websocket, if the controller was initialized from a ws route.

Source

Nested types