Quick Navigator

Search Site

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

Contact Us
Online Help
Domain Status
Man Pages

Virtual Servers

Topology Map

Server Agreement
Year 2038

USA Flag



Man Pages
Continuity::Request(3) User Contributed Perl Documentation Continuity::Request(3)

Continuity::Request - Simple HTTP::Request-like API for requests inside Continuity

  sub main {
    my $request = shift;

    # ...

    $name = $request->param('name');

Suspend execution until a new Web request is available.

Fetch a CGI POST/GET parameter.

If there is more than one parameter with the given name, then scalar context gets the first instance and list context gets all of them. Providing multiple param names will return the values for each (and if one of the params has multiple values then it will be confusing!).

Calling the param method with no parameters is equivalent to calling the params method.

Get a list of all key/value pairs. Repeated values are included, but if you treat it like a hash it will act like one.

Write output (eg, HTML).

Since Continuity juggles many concurrent requests, it's necessary to explicitly refer to requesting clients, like "$request->print(...)", rather than simply doing "print ...".

Set a cookie to be sent out with the headers, next time the headers go out (next request if data has been written to the client already, otherwise this request). (May not yet be supported by the FastCGI adapter yet.)

Straight from HTTP::Request, returns a URI object. (Probably not yet supported by the FastCGI adapter.)

Returns 'GET', 'POST', or whatever other HTTP command was issued. Continuity currently punts on anything but GET and POST out of paranoia.

Send this in the headers

Continuity does this for you, but it's still part of the API of Continuity::Request objects.

Ditto above.

Controlled by the "staticp => sub { ... }" argument pair to the main constructor call to "Continuity->new()".

This module contains no actual code. It only establishes and documents the interface actually implemented in Continuity::Adapt::FCGI, Continuity::Adapt::HttpDaemon, and, perhaps eventually, other places.

2009-03-01 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

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