POE::Component::FastCGI::Request - PoCo::FastCGI HTTP Request class
use POE::Component::FastCGI::Request; my $response = POE::Component::FastCGI::Response->new($client, $id, $cgi, $query);
Objects of this class are generally created by POE::Component::FastCGI,
POE::Component::FastCGI::Request is a subclass of HTTP::Response so inherits all of its methods. The includes header() for reading headers.
POE::Component::FastCGI::Request
header()
It also wraps the enviroment variables found in FastCGI requests, so information such as the client's IP address and the server software in use is available.
Creates a new POE::Component::FastCGI::Request object. This deletes values from $cgi while converting it into a HTTP::Request object. It also assumes $cgi contains certain CGI variables. This generally should not be used directly, POE::Component::FastCGI creates these objects for you.
$cgi
Makes a response object for this request or if the optional parameter is provided turns a normal HTTP::Response object into a POE::Component::FastCGI::Response object that is linked to this request.
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.
Gets the value of the cookie with name from the request. Without a parameter returns a hash reference containing all the cookie data.
Copyright 2005, David Leadbeater http://dgl.cx/contact. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Please let me know.
POE::Component::FastCGI::Response, HTTP::Request, POE::Component::FastCGI, POE.
To install POE::Component::FastCGI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm POE::Component::FastCGI
CPAN shell
perl -MCPAN -e shell install POE::Component::FastCGI
For more information on module installation, please visit the detailed CPAN module installation guide.