NAME
Continuity::Adapt::FCGI - Use HTTP::Daemon as a continuation server
DESCRIPTION
This is the default and reference adaptor for Continuity. An adaptor interfaces between the continuation server (Continuity::Server) and the web server (HTTP::Daemon, FastCGI, etc).
METHODS
- $server = new Continuity::Adapt::FCGI(...)
-
Create a new continuation adaptor and HTTP::Daemon. This actually starts the HTTP server which is embeded.
- mapPath($path) - map a URL path to a filesystem path
- sendStatic($c, $path) - send static file to the $c filehandle
-
We cheat here... use 'magic' to get mimetype and send that. then the binary file
SEE ALSO
AUTHOR
Brock Wilcox <awwaiid@thelackthereof.org> - http://thelackthereof.org/
Scott Walters <scott@slowass.net> - http://slowass.net/
COPYRIGHT
Copyright (c) 2004-2007 Brock Wilcox <awwaiid@thelackthereof.org>. All rights
reserved. This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.