03.02.2014 Views

php|architect's Guide to Web Scraping with PHP - Wind Business ...

php|architect's Guide to Web Scraping with PHP - Wind Business ...

php|architect's Guide to Web Scraping with PHP - Wind Business ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

pecl_http PECL Extension ” 59<br />

• The HttpRequestPool construc<strong>to</strong>r accepts a variable number of arguments, all<br />

of which should be preconfigured HttpRequest instances.<br />

• Request instances can also be added via the attach method of the<br />

HttpRequestPool class.<br />

• send is called on the pool instance <strong>to</strong> transmit all requests and blocks until<br />

all responses are received. Once complete, all request instances contain their<br />

respective sets of response data as if they had been sent individually.<br />

W rap-U p<br />

F or more information on the pecl_http extension, see http://php.net/http.<br />

F or more information on its request options,<br />

http://php.net/manual/en/http.request.options.php.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!