Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

poe::component::client::http::requestfactory(3pm) [debian man page]

POE::Component::Client::HTTP::RequestFactory(3pm)	User Contributed Perl Documentation	 POE::Component::Client::HTTP::RequestFactory(3pm)

NAME
POE::Component::Client::HTTP::RequestFactory - an HTTP request factory object VERSION
version 0.947 SYNOPSIS
# Used internally by POE::Component::Client::HTTP CONSTRUCTOR
new Create a new request factory object. It expects its parameters in a hashref. The following parameters are accepted. They are explained in detail in POE::Component::Client::HTTP. o Agent o MaxSize o Streaming o Protocol o From o CookieJar o NoProxy o Proxy o FollowRedirects o Timeout METHODS
timeout [$timeout] Method that lets you query and/or change the timeout value for requests created by this factory. is_streaming Accessor for the Streaming parameter agent Accessor to the Agent parameter from getter/setter for the From parameter create_request Creates a new POE::Component::Client::HTTP::Request max_response_size Method to retrieve the maximum size of a response, as set by the "MaxSize" parameter to Client::HTTP's "spawn()" method. block_size Accessor for the Streaming parameter frob_cookies $response Store the cookies from the HTTP::Response parameter passed into our cookie jar max_redirect_count [$count] Function to get/set the maximum number of redirects to follow automatically. This allows you to retrieve or modify the value you passed with the FollowRedirects parameter to Client::HTTP's "spawn" method. parse_proxy $proxy This static method is used for parsing proxies. The $proxy can be array reference like [host, port] or comma separated string like "http://1.2.3.4:80/,http://2.3.4.5:80/". parse_proxy() returns an array reference of two-element tuples (also array ferences), each containing a host and a port: [ [ host1, port1 ], [ host2, port2 ], ... ] perl v5.14.2 2012-06-03 POE::Component::Client::HTTP::RequestFactory(3pm)

Check Out this Related Man Page

POE::Component::Resolver::Sidecar(3pm)			User Contributed Perl Documentation		    POE::Component::Resolver::Sidecar(3pm)

NAME
POE::Component::Resolver::Sidecar - delegate subprocess to call getaddrinfo() VERSION
version 0.920 SYNOPSIS
Used internally by POE::Component::Resolver. DESCRIPTION
POE::Component::Resolver creates subprocesses to call getaddrinfo() so that the main program doesn't block during that time. The actual getaddrinfo() calling code is abstracted into this module so it can be run in a separate executable program. This reduces the memory footprint of forking the entire main process for just getaddrinfo(). It's a strong, useful pattern that other POE::Components have implemented before. POE::Quickie does it generically. POE::Component::SimpleDBI and POE::Component::EasyDBI do it so their DBI subprocesses are relatively lightweight. main The main code to read POE::Component::Resolver requests from STDIN and write getaddrinfo() responses to STDOUT. SEE ALSO
POE::Component::Generic is one generic implementation of this pattern. POE::Quickie is another generic implementation of this pattern. BUGS
None known. LICENSE
Except where otherwise noted, this distribution is Copyright 2011 by Rocco Caputo. All rights reserved. This distribution is free software; you may redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2012-06-03 POE::Component::Resolver::Sidecar(3pm)
Man Page