docs.roxen.comView this page in a printer friendly mode
DocsRoxenWebServer 4.5System Developer Manual PikeThe Roxen Module API
Copyright © 2012, 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

First Modules

A first module is called right after the authentification module. It has the opportunity of handling the whole request before the normal processing.

The module type constant is MODULE_FIRST.

mapping first_try( RequestID id)

id is the request information object. The return value is either a response mapping or zero (0) for non-handled requests.