PHP Velho Oeste 2024

The HttpRequestPool class

(PECL pecl_http >= 0.10.0)

Обзор классов

HttpRequestPool implements Iterator , Countable {
public bool attach ( HttpRequest $request )
public __construct ([ HttpRequest $request [, HttpRequest $... ]] )
void __destruct ( void )
bool detach ( HttpRequest $request )
array getAttachedRequests ( void )
array getFinishedRequests ( void )
void reset ( void )
bool send ( void )
protected bool socketPerform ( void )
protected bool socketSelect ([ float $timeout = 0 ] )
}

Class Members

Свойства

The HttpRequestPool class does not have any properties.

Предопределенные константы

The HttpRequestPool class does not have any constants.

Содержание

add a note add a note

User Contributed Notes 1 note

up
6
marcus at synchromedia dot co dot uk
9 years ago
This class no longer exists. The http extension was competely rewritten for version 2.0 and is entirely incompatible with version 1.x. I'm sure it's much improved, but the documentation is useless and offers no help at all upgrading - or more to the point, in rewriting all your code, since almost everything has changed. This is an irresponsible and inadvisable change for whoever allowed this to be released under the same name.
To Top