Suspend execution until a new Web request is available.
CW$val = CW$request->param(name);
CW@vals = CW$request->param(name);
CW@vals = CW$request->param(name1, name2);
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
CW%params = CW$request->params();
CW@params = CW$request->params();
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, its necessary to explicitly
refer to requesting clients, like $request->print(...), rather than
simply doing print ....
CW$request->set_cookie(name => value);
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.
CW$request->send_headers(X-HTTP-Header: blah\n, CW$h2)
Send this in the headers