Continuity::Adapt::FCGI - Use HTTP::Daemon as a continuation server


Continuity documentation  | view source Contained in the Continuity distribution.

Index


NAME

Top

Continuity::Adapt::FCGI - Use HTTP::Daemon as a continuation server

DESCRIPTION

Top

This module provides the glue between FastCGI Web and Continuity, translating FastCGI requests into HTTP::RequestWrapper objects that are sent to applications running inside Continuity.

METHODS

Top

$server = new Continuity::Adapt::FCGI(...)

Create a new continuation adapter 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

Creates a new Continuity::Adapt::FCGI::Request object. This deletes values from $cgi while converting it into a HTTP::Request object. It also assumes $cgi contains certain CGI variables.

This code was borrowed from POE::Component::FastCGI

Sends a HTTP error back to the user.

Gets the specified variable out of the CGI environment.

eg: $request->env("REMOTE_ADDR");

Gets the value of name from the query (GET or POST data). Without a parameter returns a hash reference containing all the query data.

SEE ALSO

Top

Continuity

AUTHOR

Top

  Brock Wilcox <awwaiid@thelackthereof.org> - http://thelackthereof.org/
  Scott Walters <scott@slowass.net> - http://slowass.net/

COPYRIGHT

Top


Continuity documentation  | view source Contained in the Continuity distribution.