The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Continuity::Adapt::HttpDaemon - 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::HttpDaemon(...)

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

Continuity

AUTHOR

  Brock Wilcox <awwaiid@thelackthereof.org>
  http://thelackthereof.org/

COPYRIGHT

  Copyright (c) 2004-2006 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.