1POE::Component::Client:U:sHeTrTPC:o:nRterPqiOubEeu:st:teCFdoamcPpteoornrleyn(Dt3o:)c:uCmleinetnatt:i:oHnTTP::RequestFactory(3)
2
3
4

CONSTRUCTOR

6       new
7
8       Create a new request factory object. It expects its parameters in a
9       hashref.
10
11       The following parameters are accepted.  They are explained in detail in
12       POE::Component::Client::HTTP.
13
14       ·   Agent
15
16       ·   MaxSize
17
18       ·   Streaming
19
20       ·   Protocol
21
22       ·   From
23
24       ·   CookieJar
25
26       ·   NoProxy
27
28       ·   Proxy
29
30       ·   FollowRedirects
31
32       ·   Timeout
33

METHODS

35       timeout [$timeout]
36
37       Method that lets you query and/or change the timeout value for requests
38       created by this factory.
39
40       is_streaming
41
42       Accessor for the Streaming parameter
43
44       agent
45
46       Accessor to the Agent parameter
47
48       from
49
50       getter/setter for the From parameter
51
52       create_request
53
54       Creates a new POE::Component::Client::HTTP::Request
55
56       max_response_size
57
58       Method to retrieve the maximum size of a response, as set by the "Max‐
59       Size" parameter to Client::HTTP's "spawn()" method.
60
61       block_size
62
63       Accessor for the Streaming parameter
64
65       frob_cookies $response
66
67       Store the cookies from the HTTP::Response parameter passed into our
68       cookie jar
69
70       max_redirect_count [$count]
71
72       Function to get/set the maximum number of redirects to follow automati‐
73       cally. This allows you to retrieve or modify the value you passed with
74       the FollowRedirects parameter to Client::HTTP's "spawn" method.
75
76       parse_proxy $proxy
77
78       This static method is used for parsing proxies. The $proxy can be array
79       reference like [host, port] or comma separated string like
80       "http://1.2.3.4:80/,http://2.3.4.5:80/".
81
82       parse_proxy() returns an array reference of two-element tuples (also
83       array ferences), each containing a host and a port:
84
85         [ [ host1, port1 ],
86           [ host2, port2 ],
87           ...
88         ]
89
90
91
92perl v5.8.8                    POE2:0:0C6o-m1p0o-n1e4nt::Client::HTTP::RequestFactory(3)
Impressum