docs.roxen.comView this page in a printer friendly mode
DocsRoxenWebServer 6.1System Developer Manual PikeThe Roxen Module API
Copyright  2018, Roxen Internet Software
Suggestions, comments & compliments
manuals@roxen.com
 DEMO  DOCS  PIKE
 COMMUNITY  DOWNLOAD
www.roxen.com



Introduction to Roxen Modules
The Module Type Calling Sequence
Constants Common to All Modules
Callback Methods Common to All Modules
API Methods Common to All Modules
Module Variables
Tag Modules
Location (Filesystem) Modules
File Extension Modules
Filter Modules
Authentication Modules
Logger Modules
First Modules
Last Modules
Provider Modules
Content Type Modules
Directory Listing Modules

Last Modules

The module type constant for last resort modules is MODULE_LAST.

mapping|int(0..1) last_resort(RequestID id)

The last_resort() method is called when all previous modules have failed to return a response.

The id argument is the request information object associated with the request.

The returned value is either zero, if you did not handle the request, a response mapping or the integer one, signifying that the request should be processed again from start (used only by the Path info support module).