fcgi server - part-cw/lambdanative GitHub Wiki
(fcgi-server init-proc session-proc close-proc)
Handles an FCGI session with the specified procedures. Note that this is the same calling convention as cgi-server
, and a properly structured CGI program can be migrated to FCGI simply by including the fcgi
module instead of cgi
. The fcgi module also defines cgi-server
pointing to fcgi-server
to make it possible to switch deployment mode without changing the code.
Parameter | Description |
---|---|
init-proc | Initialization procedure |
session-proc | Session procedure |
close-proc | Termination procedure |
Example
> (fcgi-server project-init project-session project-close)