GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  CONTINUITY::ADAPT::FCGI (3)

.ds Aq ’

NAME

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

CONTENTS

DESCRIPTION

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

$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
$request = Continuity::Adapt::FCGI::Request->new($client, $id, $cgi, $query) 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

$request->error($code[, $text]) Sends a HTTP error back to the user.
$request->env($name) Gets the specified variable out of the CGI environment.

eg:
$request->env(REMOTE_ADDR);

$request->query([$name]) 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

Continuity

AUTHOR



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



COPYRIGHT



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



POD ERRORS

Hey! <B>The above document had some coding errors, which are explained below:B>
Around line 152: ’=item’ outside of any ’=over’
Around line 356: You forgot a ’=back’ before ’=head1’
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 CONTINUITY::ADAPT::FCGI (3) 2010-06-01

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.