Myna Server Objects
Myna comes with seven standard objects which relate to the server and standard server scripting functionality for you're Server-Side JavaScript application.
Application Object - $application
The $application object has events, properties, and functions.
Session Object - $session
The $session object is used for managing users sessions and data.
Server Object - $server
The $server object stores information about the server environment.
Request Object - $req
The $req object stores information about the the request.
Response Object - $res
The $res object contains functions for the response.
Cookie Object - $cookie
The $cookie object contains functions for working with cookies.
Profiler Object - $profiler
The $profiler object is used for tracking execution times.