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
POE::Component::Client::HTTP::Request(3) User Contributed Perl Documentation POE::Component::Client::HTTP::Request(3)

POE::Component::Client::HTTP::Request - an HTTP request class

version 0.949

  # Used internally by POE::Component::Client::HTTP

POE::Component::Client::HTTP::Request encapsulates the state of requests POE::Component::Client::HTTP requests throughout their life cycles. There turns out to be a lot of state to manage.

Create a POE::Component::Client::HTTP object to manage a request. The constructor takes several named parameters:
Request => HTTP_REQUEST
A POE::Component::Client::HTTP::Request object encapsulates a plain HTTP::Request. Required.
Factory => POE_COMPONENT_CLIENT_HTTP_REQUESTFACTORY
The request may create additional requests during its lifetime, for example when following redirects. The Factory parameter specifies the POE::Component::Client::HTTP::RequestFactory that may be used to create them. Required.
Postback => RESPONSE_POSTBACK
POE::Component::Client::HTTP creates a postback that will be used to send responses to the requesting session. Required.
Progress => PROGRESS_POSTBACK
Sets the progress notification if the user has requested progress events. Optional.
Proxy
Sets the proxy used for this request, if requested by the user. Optional.

Return the request's unique ID.

Sends a response back to the user's session. Called by POE::Component::Client::HTTP when a complete response has arrived.

Called by POE::Component::Client::HTTP to indicate EOF has arrived.

Called by POE::Component::Client::HTTP to add content data to an incrementally built response. If PARSED_DATA is an object, it is treated like an HTTP::Headers object and its headers are assimilated into the response being built by the request. Otherwise the PARSED_DATA is appended to the response's content.

Accessor to manipulate the request's timeout timer. Sets the request's timer if TIMER is specified, otherwise merely fetches the one currently associated with the request.

Creates and sets a timer for this request. TIMEOUT is the number of seconds this request may live.

Turn off the timer associated with this request, and discard it.

Accessor to manipulate the postback associated with this request. Sets the postback if POSTBACK is defined, otherwise merely fetches it.

FIXME - Not sure what this accessor does.

Check whether the last response is a redirect, the request is permitted to follow redirects, and the maximum number of redirects has not been met. Initiate a redirect if all conditions are favorable.

Each active request object contains an internal connection. This method closes it.

Transmit the request to the socket associated with this request.

An accessor to return the wheel associated with this request.

Generate an error response, and post it back to the user's session.

Generate a connection error response, and post it back to the user's session.

Return the host this request is attempting to work with.

Return the port this request is attempting to work with.

Return the scheme for this request.

POE::Component::Client::HTTP POE

None are currently known.

POE::Component::Client::HTTP::Request is
  • Copyright 2004-2005 Martijn van Beers
  • Copyright 2006 Rocco Caputo

All rights are reserved. POE::Component::Client::HTTP::Request is free software; you may redistribute it and/or modify it under the same terms as Perl itself.

Your name could be here.

Rocco may be contacted by e-mail via <mailto:rcaputo@cpan.org>, and Martijn may be contacted by email via <mailto:martijn@cpan.org>.

The preferred way to report bugs or requests is through RT though. See <http://rt.cpan.org/NoAuth/Bugs.html?Dist=POE-Component-Client-HTTP> or mail <mailto:bug-POE-Component-Client-HTTP@rt.cpan.org>

For questions, try the POE mailing list (poe@perl.org)

2014-07-08 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.