Module ringo/jsgi

Low level JSGI adapter implementation.

Functions


handleRequest (moduleId, functionObj, req)

Handle a JSGI request.

Parameters

moduleId the module id. Ignored if functionObj is already a function.
functionObj the function, either as function object or function name to be imported from the module moduleId.
req the JSGI request object

Returns

the JSGI response object

writeHeaders (servletResponse, headers)

Parameters

servletResponse
headers