docs.roxen.comBack to normal mode
DocsRoxenWebServer 4.5System Developer Manual PikeThe Roxen Module API
Copyright © 2012, Roxen Internet Software
Suggestions, comments & compliments
manuals@roxen.com

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).