Global

Methods


module:skyring/lib/json(json)

Wrpper around try/catch of JSON parsing

Parameters:
Name Type Description
json String

A JSON string to parse

Source:
Returns:
Type
module:skyring/lib/json~Result

Type Definitions


Middleware(req, res, node, next)

A route middleware function

Parameters:
Name Type Description
req http.IncomingMessage

The incomming request

res http.ServerResponse

The response object to be sent

node module:skyring/lib/server/node

The internal Ring Node instance

next function

The continuation callback to call when the middleware is finished

Source: