From 72e609d2b2d85439e6ebf7fc1c3fb7d2a04dab5c Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 14 May 2014 10:00:37 +0200 Subject: php-pecl-http: obsoletes php-pecl-http1 (php 5.6) --- REFLECTION | 3624 ++++++++++++++++++++++++++++++++++++++++++++++++++++ php-pecl-http.spec | 10 +- 2 files changed, 3633 insertions(+), 1 deletion(-) create mode 100644 REFLECTION diff --git a/REFLECTION b/REFLECTION new file mode 100644 index 0000000..f13b2c6 --- /dev/null +++ b/REFLECTION @@ -0,0 +1,3624 @@ +Extension [ extension #155 http version 2.0.6 ] { + + - Dependencies { + Dependency [ raphf (Required) ] + Dependency [ propro (Required) ] + Dependency [ spl (Required) ] + Dependency [ hash (Required) ] + Dependency [ iconv (Required) ] + Dependency [ json (Required) ] + } + + - INI { + Entry [ http.etag.mode ] + Current = 'crc32b' + } + } + + - Constants [25] { + Constant [ integer http\Client\Curl\HTTP_VERSION_1_0 ] { 1 } + Constant [ integer http\Client\Curl\HTTP_VERSION_1_1 ] { 2 } + Constant [ integer http\Client\Curl\HTTP_VERSION_ANY ] { 0 } + Constant [ integer http\Client\Curl\SSL_VERSION_TLSv1 ] { 1 } + Constant [ integer http\Client\Curl\SSL_VERSION_SSLv2 ] { 2 } + Constant [ integer http\Client\Curl\SSL_VERSION_SSLv3 ] { 3 } + Constant [ integer http\Client\Curl\SSL_VERSION_ANY ] { 0 } + Constant [ integer http\Client\Curl\IPRESOLVE_V4 ] { 1 } + Constant [ integer http\Client\Curl\IPRESOLVE_V6 ] { 2 } + Constant [ integer http\Client\Curl\IPRESOLVE_ANY ] { 0 } + Constant [ integer http\Client\Curl\AUTH_BASIC ] { 1 } + Constant [ integer http\Client\Curl\AUTH_DIGEST ] { 2 } + Constant [ integer http\Client\Curl\AUTH_DIGEST_IE ] { 16 } + Constant [ integer http\Client\Curl\AUTH_NTLM ] { 8 } + Constant [ integer http\Client\Curl\AUTH_GSSNEG ] { 4 } + Constant [ integer http\Client\Curl\AUTH_ANY ] { -17 } + Constant [ integer http\Client\Curl\PROXY_SOCKS4 ] { 4 } + Constant [ integer http\Client\Curl\PROXY_SOCKS4A ] { 5 } + Constant [ integer http\Client\Curl\PROXY_SOCKS5_HOSTNAME ] { 5 } + Constant [ integer http\Client\Curl\PROXY_SOCKS5 ] { 5 } + Constant [ integer http\Client\Curl\PROXY_HTTP ] { 0 } + Constant [ integer http\Client\Curl\PROXY_HTTP_1_0 ] { 1 } + Constant [ integer http\Client\Curl\POSTREDIR_301 ] { 1 } + Constant [ integer http\Client\Curl\POSTREDIR_302 ] { 2 } + Constant [ integer http\Client\Curl\POSTREDIR_ALL ] { 7 } + } + + - Classes [27] { + Interface [ interface http\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ class http\Exception\RuntimeException extends RuntimeException implements http\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + } + + - Methods [9] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ final public method getMessage ] { + } + + Method [ final public method getCode ] { + } + + Method [ final public method getFile ] { + } + + Method [ final public method getLine ] { + } + + Method [ final public method getTrace ] { + } + + Method [ final public method getPrevious ] { + } + + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { + } + } + } + + Class [ class http\Exception\UnexpectedValueException extends UnexpectedValueException implements http\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + } + + - Methods [9] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ final public method getMessage ] { + } + + Method [ final public method getCode ] { + } + + Method [ final public method getFile ] { + } + + Method [ final public method getLine ] { + } + + Method [ final public method getTrace ] { + } + + Method [ final public method getPrevious ] { + } + + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { + } + } + } + + Class [ class http\Exception\BadMethodCallException extends BadMethodCallException implements http\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + } + + - Methods [9] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ final public method getMessage ] { + } + + Method [ final public method getCode ] { + } + + Method [ final public method getFile ] { + } + + Method [ final public method getLine ] { + } + + Method [ final public method getTrace ] { + } + + Method [ final public method getPrevious ] { + } + + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { + } + } + } + + Class [ class http\Exception\InvalidArgumentException extends InvalidArgumentException implements http\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + } + + - Methods [9] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ final public method getMessage ] { + } + + Method [ final public method getCode ] { + } + + Method [ final public method getFile ] { + } + + Method [ final public method getLine ] { + } + + Method [ final public method getTrace ] { + } + + Method [ final public method getPrevious ] { + } + + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { + } + } + } + + Class [ class http\Exception\BadHeaderException extends DomainException implements http\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + } + + - Methods [9] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ final public method getMessage ] { + } + + Method [ final public method getCode ] { + } + + Method [ final public method getFile ] { + } + + Method [ final public method getLine ] { + } + + Method [ final public method getTrace ] { + } + + Method [ final public method getPrevious ] { + } + + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { + } + } + } + + Class [ class http\Exception\BadUrlException extends DomainException implements http\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + } + + - Methods [9] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ final public method getMessage ] { + } + + Method [ final public method getCode ] { + } + + Method [ final public method getFile ] { + } + + Method [ final public method getLine ] { + } + + Method [ final public method getTrace ] { + } + + Method [ final public method getPrevious ] { + } + + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { + } + } + } + + Class [ class http\Exception\BadMessageException extends DomainException implements http\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + } + + - Methods [9] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ final public method getMessage ] { + } + + Method [ final public method getCode ] { + } + + Method [ final public method getFile ] { + } + + Method [ final public method getLine ] { + } + + Method [ final public method getTrace ] { + } + + Method [ final public method getPrevious ] { + } + + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { + } + } + } + + Class [ class http\Exception\BadConversionException extends DomainException implements http\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + } + + - Methods [9] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ final public method getMessage ] { + } + + Method [ final public method getCode ] { + } + + Method [ final public method getFile ] { + } + + Method [ final public method getLine ] { + } + + Method [ final public method getTrace ] { + } + + Method [ final public method getPrevious ] { + } + + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { + } + } + } + + Class [ class http\Exception\BadQueryStringException extends DomainException implements http\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + } + + - Methods [9] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ final public method getMessage ] { + } + + Method [ final public method getCode ] { + } + + Method [ final public method getFile ] { + } + + Method [ final public method getLine ] { + } + + Method [ final public method getTrace ] { + } + + Method [ final public method getPrevious ] { + } + + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { + } + } + } + + Class [ class http\Cookie ] { + + - Constants [3] { + Constant [ integer PARSE_RAW ] { 1 } + Constant [ integer SECURE ] { 16 } + Constant [ integer HTTPONLY ] { 32 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [26] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $cookie_string ] + Parameter #1 [ $parser_flags ] + Parameter #2 [ $allowed_extras ] + } + } + + Method [ public method getCookies ] { + + - Parameters [0] { + } + } + + Method [ public method setCookies ] { + + - Parameters [1] { + Parameter #0 [ $cookies ] + } + } + + Method [ public method addCookies ] { + + - Parameters [1] { + Parameter #0 [ $cookies ] + } + } + + Method [ public method getCookie ] { + + - Parameters [1] { + Parameter #0 [ $name ] + } + } + + Method [ public method setCookie ] { + + - Parameters [2] { + Parameter #0 [ $cookie_name ] + Parameter #1 [ $cookie_value ] + } + } + + Method [ public method addCookie ] { + + - Parameters [2] { + Parameter #0 [ $cookie_name ] + Parameter #1 [ $cookie_value ] + } + } + + Method [ public method getExtras ] { + + - Parameters [0] { + } + } + + Method [ public method setExtras ] { + + - Parameters [1] { + Parameter #0 [ $extras ] + } + } + + Method [ public method addExtras ] { + + - Parameters [1] { + Parameter #0 [ $extras ] + } + } + + Method [ public method getExtra ] { + + - Parameters [1] { + Parameter #0 [ $name ] + } + } + + Method [ public method setExtra ] { + + - Parameters [2] { + Parameter #0 [ $extra_name ] + Parameter #1 [ $extra_value ] + } + } + + Method [ public method addExtra ] { + + - Parameters [2] { + Parameter #0 [ $extra_name ] + Parameter #1 [ $extra_value ] + } + } + + Method [ public method getDomain ] { + + - Parameters [0] { + } + } + + Method [ public method setDomain ] { + + - Parameters [1] { + Parameter #0 [ $value ] + } + } + + Method [ public method getPath ] { + + - Parameters [0] { + } + } + + Method [ public method setPath ] { + + - Parameters [1] { + Parameter #0 [ $value ] + } + } + + Method [ public method getExpires ] { + + - Parameters [0] { + } + } + + Method [ public method setExpires ] { + + - Parameters [1] { + Parameter #0 [ $value ] + } + } + + Method [ public method getMaxAge ] { + + - Parameters [0] { + } + } + + Method [ public method setMaxAge ] { + + - Parameters [1] { + Parameter #0 [ $value ] + } + } + + Method [ public method getFlags ] { + + - Parameters [0] { + } + } + + Method [ public method setFlags ] { + + - Parameters [1] { + Parameter #0 [ $value ] + } + } + + Method [ public method toArray ] { + + - Parameters [0] { + } + } + + Method [ public method toString ] { + + - Parameters [0] { + } + } + + Method [ public method __toString ] { + + - Parameters [0] { + } + } + } + } + + Class [ abstract class http\Encoding\Stream ] { + + - Constants [3] { + Constant [ integer FLUSH_NONE ] { 0 } + Constant [ integer FLUSH_SYNC ] { 1048576 } + Constant [ integer FLUSH_FULL ] { 2097152 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [5] { + Method [ public method __construct ] { + + - Parameters [1] { + Parameter #0 [ $flags ] + } + } + + Method [ public method update ] { + + - Parameters [1] { + Parameter #0 [ $data ] + } + } + + Method [ public method flush ] { + + - Parameters [0] { + } + } + + Method [ public method done ] { + + - Parameters [0] { + } + } + + Method [ public method finish ] { + + - Parameters [0] { + } + } + } + } + + Class [ class http\Encoding\Stream\Deflate extends http\Encoding\Stream ] { + + - Constants [14] { + Constant [ integer FLUSH_NONE ] { 0 } + Constant [ integer FLUSH_SYNC ] { 1048576 } + Constant [ integer FLUSH_FULL ] { 2097152 } + Constant [ integer TYPE_GZIP ] { 16 } + Constant [ integer TYPE_ZLIB ] { 0 } + Constant [ integer TYPE_RAW ] { 32 } + Constant [ integer LEVEL_DEF ] { 0 } + Constant [ integer LEVEL_MIN ] { 1 } + Constant [ integer LEVEL_MAX ] { 9 } + Constant [ integer STRATEGY_DEF ] { 0 } + Constant [ integer STRATEGY_FILT ] { 256 } + Constant [ integer STRATEGY_HUFF ] { 512 } + Constant [ integer STRATEGY_RLE ] { 768 } + Constant [ integer STRATEGY_FIXED ] { 1024 } + } + + - Static properties [0] { + } + + - Static methods [1] { + Method [ static public method encode ] { + + - Parameters [2] { + Parameter #0 [ $data ] + Parameter #1 [ $flags ] + } + } + } + + - Properties [0] { + } + + - Methods [5] { + Method [ public method __construct ] { + + - Parameters [1] { + Parameter #0 [ $flags ] + } + } + + Method [ public method update ] { + + - Parameters [1] { + Parameter #0 [ $data ] + } + } + + Method [ public method flush ] { + + - Parameters [0] { + } + } + + Method [ public method done ] { + + - Parameters [0] { + } + } + + Method [ public method finish ] { + + - Parameters [0] { + } + } + } + } + + Class [ class http\Encoding\Stream\Inflate extends http\Encoding\Stream ] { + + - Constants [3] { + Constant [ integer FLUSH_NONE ] { 0 } + Constant [ integer FLUSH_SYNC ] { 1048576 } + Constant [ integer FLUSH_FULL ] { 2097152 } + } + + - Static properties [0] { + } + + - Static methods [1] { + Method [ static public method decode ] { + + - Parameters [1] { + Parameter #0 [ $data ] + } + } + } + + - Properties [0] { + } + + - Methods [5] { + Method [ public method __construct ] { + + - Parameters [1] { + Parameter #0 [ $flags ] + } + } + + Method [ public method update ] { + + - Parameters [1] { + Parameter #0 [ $data ] + } + } + + Method [ public method flush ] { + + - Parameters [0] { + } + } + + Method [ public method done ] { + + - Parameters [0] { + } + } + + Method [ public method finish ] { + + - Parameters [0] { + } + } + } + } + + Class [ class http\Encoding\Stream\Dechunk extends http\Encoding\Stream ] { + + - Constants [3] { + Constant [ integer FLUSH_NONE ] { 0 } + Constant [ integer FLUSH_SYNC ] { 1048576 } + Constant [ integer FLUSH_FULL ] { 2097152 } + } + + - Static properties [0] { + } + + - Static methods [1] { + Method [ static public method decode ] { + + - Parameters [2] { + Parameter #0 [ $data ] + Parameter #1 [ &$decoded_len ] + } + } + } + + - Properties [0] { + } + + - Methods [5] { + Method [ public method __construct ] { + + - Parameters [1] { + Parameter #0 [ $flags ] + } + } + + Method [ public method update ] { + + - Parameters [1] { + Parameter #0 [ $data ] + } + } + + Method [ public method flush ] { + + - Parameters [0] { + } + } + + Method [ public method done ] { + + - Parameters [0] { + } + } + + Method [ public method finish ] { + + - Parameters [0] { + } + } + } + } + + Class [ class http\Header implements Serializable ] { + + - Constants [5] { + Constant [ integer MATCH_LOOSE ] { 0 } + Constant [ integer MATCH_CASE ] { 1 } + Constant [ integer MATCH_WORD ] { 16 } + Constant [ integer MATCH_FULL ] { 32 } + Constant [ integer MATCH_STRICT ] { 33 } + } + + - Static properties [0] { + } + + - Static methods [1] { + Method [ static public method parse ] { + + - Parameters [2] { + Parameter #0 [ $string ] + Parameter #1 [ $header_class ] + } + } + } + + - Properties [2] { + Property [ public $name ] + Property [ public $value ] + } + + - Methods [8] { + Method [ public method __construct ] { + + - Parameters [2] { + Parameter #0 [ $name ] + Parameter #1 [ $value ] + } + } + + Method [ public method serialize ] { + + - Parameters [0] { + } + } + + Method [ public method __toString ] { + + - Parameters [0] { + } + } + + Method [ public method toString ] { + + - Parameters [0] { + } + } + + Method [ public method unserialize ] { + + - Parameters [1] { + Parameter #0 [ $serialized ] + } + } + + Method [ public method match ] { + + - Parameters [2] { + Parameter #0 [ $value ] + Parameter #1 [ $flags ] + } + } + + Method [ public method negotiate ] { + + - Parameters [2] { + Parameter #0 [ $supported ] + Parameter #1 [ &$result ] + } + } + + Method [ public method getParams ] { + + - Parameters [4] { + Parameter #0 [ $param_sep ] + Parameter #1 [ $arg_sep ] + Parameter #2 [ $val_sep ] + Parameter #3 [ $flags ] + } + } + } + } + + Class [ class http\Message implements Countable, Serializable, Iterator, Traversable ] { + + - Constants [3] { + Constant [ integer TYPE_NONE ] { 0 } + Constant [ integer TYPE_REQUEST ] { 1 } + Constant [ integer TYPE_RESPONSE ] { 2 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [9] { + Property [ protected $type ] + Property [ protected $body ] + Property [ protected $requestMethod ] + Property [ protected $requestUrl ] + Property [ protected $responseStatus ] + Property [ protected $responseCode ] + Property [ protected $httpVersion ] + Property [ protected $headers ] + Property [ protected $parentMessage ] + } + + - Methods [42] { + Method [ public method __construct ] { + + - Parameters [2] { + Parameter #0 [ $message ] + Parameter #1 [ $greedy ] + } + } + + Method [ public method getBody ] { + + - Parameters [0] { + } + } + + Method [ public method setBody ] { + + - Parameters [1] { + Parameter #0 [ http\Message\Body $body ] + } + } + + Method [ public method addBody ] { + + - Parameters [1] { + Parameter #0 [ http\Message\Body $body ] + } + } + + Method [ public method getHeader ] { + + - Parameters [2] { + Parameter #0 [ $header ] + Parameter #1 [ $into_class ] + } + } + + Method [ public method setHeader ] { + + - Parameters [2] { + Parameter #0 [ $header ] + Parameter #1 [ $value ] + } + } + + Method [ public method addHeader ] { + + - Parameters [2] { + Parameter #0 [ $header ] + Parameter #1 [ $value ] + } + } + + Method [ public method getHeaders ] { + + - Parameters [0] { + } + } + + Method [ public method setHeaders ] { + + - Parameters [1] { + Parameter #0 [ array or NULL $headers ] + } + } + + Method [ public method addHeaders ] { + + - Parameters [2] { + Parameter #0 [ array $headers ] + Parameter #1 [ $append ] + } + } + + Method [ public method getType ] { + + - Parameters [0] { + } + } + + Method [ public method setType ] { + + - Parameters [1] { + Parameter #0 [ $type ] + } + } + + Method [ public method getInfo ] { + + - Parameters [0] { + } + } + + Method [ public method setInfo ] { + + - Parameters [1] { + Parameter #0 [ $http_info ] + } + } + + Method [ public method getResponseCode ] { + + - Parameters [0] { + } + } + + Method [ public method setResponseCode ] { + + - Parameters [2] { + Parameter #0 [ $response_code ] + Parameter #1 [ $strict ] + } + } + + Method [ public method getResponseStatus ] { + + - Parameters [0] { + } + } + + Method [ public method setResponseStatus ] { + + - Parameters [1] { + Parameter #0 [ $response_status ] + } + } + + Method [ public method getRequestMethod ] { + + - Parameters [0] { + } + } + + Method [ public method setRequestMethod ] { + + - Parameters [1] { + Parameter #0 [ $request_method ] + } + } + + Method [ public method getRequestUrl ] { + + - Parameters [0] { + } + } + + Method [ public method setRequestUrl ] { + + - Parameters [1] { + Parameter #0 [ $url ] + } + } + + Method [ public method getHttpVersion ] { + + - Parameters [0] { + } + } + + Method [ public method setHttpVersion ] { + + - Parameters [1] { + Parameter #0 [ $http_version ] + } + } + + Method [ public method getParentMessage ] { + + - Parameters [0] { + } + } + + Method [ public method toString ] { + + - Parameters [1] { + Parameter #0 [ $include_parent ] + } + } + + Method [ public method toCallback ] { + + - Parameters [1] { + Parameter #0 [ $callback ] + } + } + + Method [ public method toStream ] { + + - Parameters [1] { + Parameter #0 [ $stream ] + } + } + + Method [ public method count ] { + + - Parameters [0] { + } + } + + Method [ public method serialize ] { + + - Parameters [0] { + } + } + + Method [ public method unserialize ] { + + - Parameters [1] { + Parameter #0 [ $serialized ] + } + } + + Method [ public method rewind ] { + + - Parameters [0] { + } + } + + Method [ public method valid ] { + + - Parameters [0] { + } + } + + Method [ public method current ] { + + - Parameters [0] { + } + } + + Method [ public method key ] { + + - Parameters [0] { + } + } + + Method [ public method next ] { + + - Parameters [0] { + } + } + + Method [ public method __toString ] { + + - Parameters [0] { + } + } + + Method [ public method detach ] { + + - Parameters [0] { + } + } + + Method [ public method prepend ] { + + - Parameters [2] { + Parameter #0 [ http\Message $message ] + Parameter #1 [ $top ] + } + } + + Method [ public method reverse ] { + + - Parameters [0] { + } + } + + Method [ public method isMultipart ] { + + - Parameters [1] { + Parameter #0 [ &$boundary ] + } + } + + Method [ public method splitMultipartBody ] { + + - Parameters [0] { + } + } + } + } + + Class [ class http\Message\Body implements Serializable ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [14] { + Method [ public method __construct ] { + + - Parameters [1] { + Parameter #0 [ $stream ] + } + } + + Method [ public method __toString ] { + + - Parameters [0] { + } + } + + Method [ public method toString ] { + + - Parameters [0] { + } + } + + Method [ public method serialize ] { + + - Parameters [0] { + } + } + + Method [ public method unserialize ] { + + - Parameters [1] { + Parameter #0 [ $serialized ] + } + } + + Method [ public method toStream ] { + + - Parameters [3] { + Parameter #0 [ $stream ] + Parameter #1 [ $offset ] + Parameter #2 [ $maxlen ] + } + } + + Method [ public method toCallback ] { + + - Parameters [3] { + Parameter #0 [ $callback ] + Parameter #1 [ $offset ] + Parameter #2 [ $maxlen ] + } + } + + Method [ public method getResource ] { + + - Parameters [0] { + } + } + + Method [ public method getBoundary ] { + + - Parameters [0] { + } + } + + Method [ public method append ] { + + - Parameters [1] { + Parameter #0 [ $string ] + } + } + + Method [ public method addForm ] { + + - Parameters [2] { + Parameter #0 [ array or NULL $fields ] + Parameter #1 [ array or NULL $files ] + } + } + + Method [ public method addPart ] { + + - Parameters [1] { + Parameter #0 [ http\Message $message ] + } + } + + Method [ public method etag ] { + + - Parameters [0] { + } + } + + Method [ public method stat ] { + + - Parameters [1] { + Parameter #0 [ $field ] + } + } + } + } + + Class [ class http\QueryString implements Serializable, ArrayAccess, IteratorAggregate, Traversable ] { + + - Constants [6] { + Constant [ integer TYPE_BOOL ] { 3 } + Constant [ integer TYPE_INT ] { 1 } + Constant [ integer TYPE_FLOAT ] { 2 } + Constant [ integer TYPE_STRING ] { 6 } + Constant [ integer TYPE_ARRAY ] { 4 } + Constant [ integer TYPE_OBJECT ] { 5 } + } + + - Static properties [1] { + Property [ private static $instance ] + } + + - Static methods [1] { + Method [ static public method getGlobalInstance ] { + + - Parameters [0] { + } + } + } + + - Properties [1] { + Property [ private $queryArray ] + } + + - Methods [21] { + Method [ final public method __construct ] { + + - Parameters [1] { + Parameter #0 [ $params ] + } + } + + Method [ public method toArray ] { + + - Parameters [0] { + } + } + + Method [ public method toString ] { + + - Parameters [0] { + } + } + + Method [ public method __toString ] { + + - Parameters [0] { + } + } + + Method [ public method get ] { + + - Parameters [4] { + Parameter #0 [ $name ] + Parameter #1 [ $type ] + Parameter #2 [ $defval ] + Parameter #3 [ $delete ] + } + } + + Method [ public method set ] { + + - Parameters [1] { + Parameter #0 [ $params ] + } + } + + Method [ public method mod ] { + + - Parameters [1] { + Parameter #0 [ $params ] + } + } + + Method [ public method getBool ] { + + - Parameters [3] { + Parameter #0 [ $name ] + Parameter #1 [ $defval ] + Parameter #2 [ $delete ] + } + } + + Method [ public method getInt ] { + + - Parameters [3] { + Parameter #0 [ $name ] + Parameter #1 [ $defval ] + Parameter #2 [ $delete ] + } + } + + Method [ public method getFloat ] { + + - Parameters [3] { + Parameter #0 [ $name ] + Parameter #1 [ $defval ] + Parameter #2 [ $delete ] + } + } + + Method [ public method getString ] { + + - Parameters [3] { + Parameter #0 [ $name ] + Parameter #1 [ $defval ] + Parameter #2 [ $delete ] + } + } + + Method [ public method getArray ] { + + - Parameters [3] { + Parameter #0 [ $name ] + Parameter #1 [ $defval ] + Parameter #2 [ $delete ] + } + } + + Method [ public method getObject ] { + + - Parameters [3] { + Parameter #0 [ $name ] + Parameter #1 [ $defval ] + Parameter #2 [ $delete ] + } + } + + Method [ public method getIterator ] { + + - Parameters [0] { + } + } + + Method [ public method xlate ] { + + - Parameters [2] { + Parameter #0 [ $from_encoding ] + Parameter #1 [ $to_encoding ] + } + } + + Method [ public method serialize ] { + + - Parameters [0] { + } + } + + Method [ public method unserialize ] { + + - Parameters [1] { + Parameter #0 [ $serialized ] + } + } + + Method [ public method offsetGet ] { + + - Parameters [1] { + Parameter #0 [ $offset ] + } + } + + Method [ public method offsetSet ] { + + - Parameters [2] { + Parameter #0 [ $offset ] + Parameter #1 [ $value ] + } + } + + Method [ public method offsetExists ] { + + - Parameters [1] { + Parameter #0 [ $offset ] + } + } + + Method [ public method offsetUnset ] { + + - Parameters [1] { + Parameter #0 [ $offset ] + } + } + } + } + + Class [ class http\Client implements SplSubject, Countable ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [1] { + Method [ static public method getAvailableDrivers ] { + + - Parameters [0] { + } + } + } + + - Properties [4] { + Property [ private $observers ] + Property [ protected $options ] + Property [ protected $history ] + Property [ public $recordHistory ] + } + + - Methods [27] { + Method [ public method __construct ] { + + - Parameters [2] { + Parameter #0 [ $driver ] + Parameter #1 [ $persistent_handle_id ] + } + } + + Method [ public method reset ] { + + - Parameters [0] { + } + } + + Method [ public method enqueue ] { + + - Parameters [2] { + Parameter #0 [ http\Client\Request $request ] + Parameter #1 [ $callable ] + } + } + + Method [ public method dequeue ] { + + - Parameters [1] { + Parameter #0 [ http\Client\Request $request ] + } + } + + Method [ public method requeue ] { + + - Parameters [2] { + Parameter #0 [ http\Client\Request $request ] + Parameter #1 [ $callable ] + } + } + + Method [ public method count ] { + + - Parameters [0] { + } + } + + Method [ public method send ] { + + - Parameters [0] { + } + } + + Method [ public method once ] { + + - Parameters [0] { + } + } + + Method [ public method wait ] { + + - Parameters [1] { + Parameter #0 [ $timeout ] + } + } + + Method [ public method getResponse ] { + + - Parameters [1] { + Parameter #0 [ http\Client\Request or NULL $request ] + } + } + + Method [ public method getHistory ] { + + - Parameters [0] { + } + } + + Method [ public method enablePipelining ] { + + - Parameters [1] { + Parameter #0 [ $enable ] + } + } + + Method [ public method enableEvents ] { + + - Parameters [1] { + Parameter #0 [ $enable ] + } + } + + Method [ public method notify ] { + + - Parameters [1] { + Parameter #0 [ http\Client\Request or NULL $request ] + } + } + + Method [ public method attach ] { + + - Parameters [1] { + Parameter #0 [ SplObserver $observer ] + } + } + + Method [ public method detach ] { + + - Parameters [1] { + Parameter #0 [ SplObserver $observer ] + } + } + + Method [ public method getObservers ] { + + - Parameters [0] { + } + } + + Method [ public method getProgressInfo ] { + + - Parameters [1] { + Parameter #0 [ http\Client\Request $request ] + } + } + + Method [ public method getTransferInfo ] { + + - Parameters [1] { + Parameter #0 [ http\Client\Request $request ] + } + } + + Method [ public method setOptions ] { + + - Parameters [1] { + Parameter #0 [ array or NULL $options ] + } + } + + Method [ public method getOptions ] { + + - Parameters [0] { + } + } + + Method [ public method setSslOptions ] { + + - Parameters [1] { + Parameter #0 [ array or NULL $ssl_option ] + } + } + + Method [ public method addSslOptions ] { + + - Parameters [1] { + Parameter #0 [ array or NULL $ssl_options ] + } + } + + Method [ public method getSslOptions ] { + + - Parameters [0] { + } + } + + Method [ public method setCookies ] { + + - Parameters [1] { + Parameter #0 [ array or NULL $cookies ] + } + } + + Method [ public method addCookies ] { + + - Parameters [1] { + Parameter #0 [ array or NULL $cookies ] + } + } + + Method [ public method getCookies ] { + + - Parameters [0] { + } + } + } + } + + Class [ class http\Client\Request extends http\Message implements Traversable, Iterator, Serializable, Countable ] { + + - Constants [3] { + Constant [ integer TYPE_NONE ] { 0 } + Constant [ integer TYPE_REQUEST ] { 1 } + Constant [ integer TYPE_RESPONSE ] { 2 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [10] { + Property [ protected $type ] + Property [ protected $body ] + Property [ protected $requestMethod ] + Property [ protected $requestUrl ] + Property [ protected $responseStatus ] + Property [ protected $responseCode ] + Property [ protected $httpVersion ] + Property [ protected $headers ] + Property [ protected $parentMessage ] + Property [ protected $options ] + } + + - Methods [52] { + Method [ public method __construct ] { + + - Parameters [4] { + Parameter #0 [ $method ] + Parameter #1 [ $url ] + Parameter #2 [ array or NULL $headers ] + Parameter #3 [ http\Message\Body or NULL $body ] + } + } + + Method [ public method setContentType ] { + + - Parameters [1] { + Parameter #0 [ $content_type ] + } + } + + Method [ public method getContentType ] { + + - Parameters [0] { + } + } + + Method [ public method setQuery ] { + + - Parameters [1] { + Parameter #0 [ $query_data ] + } + } + + Method [ public method getQuery ] { + + - Parameters [0] { + } + } + + Method [ public method addQuery ] { + + - Parameters [1] { + Parameter #0 [ $query_data ] + } + } + + Method [ public method setOptions ] { + + - Parameters [1] { + Parameter #0 [ array or NULL $options ] + } + } + + Method [ public method getOptions ] { + + - Parameters [0] { + } + } + + Method [ public method setSslOptions ] { + + - Parameters [1] { + Parameter #0 [ array or NULL $ssl_options ] + } + } + + Method [ public method getSslOptions ] { + + - Parameters [0] { + } + } + + Method [ public method addSslOptions ] { + + - Parameters [1] { + Parameter #0 [ array or NULL $ssl_options ] + } + } + + Method [ public method getBody ] { + + - Parameters [0] { + } + } + + Method [ public method setBody ] { + + - Parameters [1] { + Parameter #0 [ http\Message\Body $body ] + } + } + + Method [ public method addBody ] { + + - Parameters [1] { + Parameter #0 [ http\Message\Body $body ] + } + } + + Method [ public method getHeader ] { + + - Parameters [2] { + Parameter #0 [ $header ] + Parameter #1 [ $into_class ] + } + } + + Method [ public method setHeader ] { + + - Parameters [2] { + Parameter #0 [ $header ] + Parameter #1 [ $value ] + } + } + + Method [ public method addHeader ] { + + - Parameters [2] { + Parameter #0 [ $header ] + Parameter #1 [ $value ] + } + } + + Method [ public method getHeaders ] { + + - Parameters [0] { + } + } + + Method [ public method setHeaders ] { + + - Parameters [1] { + Parameter #0 [ array or NULL $headers ] + } + } + + Method [ public method addHeaders ] { + + - Parameters [2] { + Parameter #0 [ array $headers ] + Parameter #1 [ $append ] + } + } + + Method [ public method getType ] { + + - Parameters [0] { + } + } + + Method [ public method setType ] { + + - Parameters [1] { + Parameter #0 [ $type ] + } + } + + Method [ public method getInfo ] { + + - Parameters [0] { + } + } + + Method [ public method setInfo ] { + + - Parameters [1] { + Parameter #0 [ $http_info ] + } + } + + Method [ public method getResponseCode ] { + + - Parameters [0] { + } + } + + Method [ public method setResponseCode ] { + + - Parameters [2] { + Parameter #0 [ $response_code ] + Parameter #1 [ $strict ] + } + } + + Method [ public method getResponseStatus ] { + + - Parameters [0] { + } + } + + Method [ public method setResponseStatus ] { + + - Parameters [1] { + Parameter #0 [ $response_status ] + } + } + + Method [ public method getRequestMethod ] { + + - Parameters [0] { + } + } + + Method [ public method setRequestMethod ] { + + - Parameters [1] { + Parameter #0 [ $request_method ] + } + } + + Method [ public method getRequestUrl ] { + + - Parameters [0] { + } + } + + Method [ public method setRequestUrl ] { + + - Parameters [1] { + Parameter #0 [ $url ] + } + } + + Method [ public method getHttpVersion ] { + + - Parameters [0] { + } + } + + Method [ public method setHttpVersion ] { + + - Parameters [1] { + Parameter #0 [ $http_version ] + } + } + + Method [ public method getParentMessage ] { + + - Parameters [0] { + } + } + + Method [ public method toString ] { + + - Parameters [1] { + Parameter #0 [ $include_parent ] + } + } + + Method [ public method toCallback ] { + + - Parameters [1] { + Parameter #0 [ $callback ] + } + } + + Method [ public method toStream ] { + + - Parameters [1] { + Parameter #0 [ $stream ] + } + } + + Method [ public method count ] { + + - Parameters [0] { + } + } + + Method [ public method serialize ] { + + - Parameters [0] { + } + } + + Method [ public method unserialize ] { + + - Parameters [1] { + Parameter #0 [ $serialized ] + } + } + + Method [ public method rewind ] { + + - Parameters [0] { + } + } + + Method [ public method valid ] { + + - Parameters [0] { + } + } + + Method [ public method current ] { + + - Parameters [0] { + } + } + + Method [ public method key ] { + + - Parameters [0] { + } + } + + Method [ public method next ] { + + - Parameters [0] { + } + } + + Method [ public method __toString ] { + + - Parameters [0] { + } + } + + Method [ public method detach ] { + + - Parameters [0] { + } + } + + Method [ public method prepend ] { + + - Parameters [2] { + Parameter #0 [ http\Message $message ] + Parameter #1 [ $top ] + } + } + + Method [ public method reverse ] { + + - Parameters [0] { + } + } + + Method [ public method isMultipart ] { + + - Parameters [1] { + Parameter #0 [ &$boundary ] + } + } + + Method [ public method splitMultipartBody ] { + + - Parameters [0] { + } + } + } + } + + Class [ class http\Client\Response extends http\Message implements Traversable, Iterator, Serializable, Countable ] { + + - Constants [3] { + Constant [ integer TYPE_NONE ] { 0 } + Constant [ integer TYPE_REQUEST ] { 1 } + Constant [ integer TYPE_RESPONSE ] { 2 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [10] { + Property [ protected $type ] + Property [ protected $body ] + Property [ protected $requestMethod ] + Property [ protected $requestUrl ] + Property [ protected $responseStatus ] + Property [ protected $responseCode ] + Property [ protected $httpVersion ] + Property [ protected $headers ] + Property [ protected $parentMessage ] + Property [ protected $transferInfo ] + } + + - Methods [44] { + Method [ public method getCookies ] { + + - Parameters [2] { + Parameter #0 [ $flags ] + Parameter #1 [ $allowed_extras ] + } + } + + Method [ public method getTransferInfo ] { + + - Parameters [1] { + Parameter #0 [ $element ] + } + } + + Method [ public method __construct ] { + + - Parameters [2] { + Parameter #0 [ $message ] + Parameter #1 [ $greedy ] + } + } + + Method [ public method getBody ] { + + - Parameters [0] { + } + } + + Method [ public method setBody ] { + + - Parameters [1] { + Parameter #0 [ http\Message\Body $body ] + } + } + + Method [ public method addBody ] { + + - Parameters [1] { + Parameter #0 [ http\Message\Body $body ] + } + } + + Method [ public method getHeader ] { + + - Parameters [2] { + Parameter #0 [ $header ] + Parameter #1 [ $into_class ] + } + } + + Method [ public method setHeader ] { + + - Parameters [2] { + Parameter #0 [ $header ] + Parameter #1 [ $value ] + } + } + + Method [ public method addHeader ] { + + - Parameters [2] { + Parameter #0 [ $header ] + Parameter #1 [ $value ] + } + } + + Method [ public method getHeaders ] { + + - Parameters [0] { + } + } + + Method [ public method setHeaders ] { + + - Parameters [1] { + Parameter #0 [ array or NULL $headers ] + } + } + + Method [ public method addHeaders ] { + + - Parameters [2] { + Parameter #0 [ array $headers ] + Parameter #1 [ $append ] + } + } + + Method [ public method getType ] { + + - Parameters [0] { + } + } + + Method [ public method setType ] { + + - Parameters [1] { + Parameter #0 [ $type ] + } + } + + Method [ public method getInfo ] { + + - Parameters [0] { + } + } + + Method [ public method setInfo ] { + + - Parameters [1] { + Parameter #0 [ $http_info ] + } + } + + Method [ public method getResponseCode ] { + + - Parameters [0] { + } + } + + Method [ public method setResponseCode ] { + + - Parameters [2] { + Parameter #0 [ $response_code ] + Parameter #1 [ $strict ] + } + } + + Method [ public method getResponseStatus ] { + + - Parameters [0] { + } + } + + Method [ public method setResponseStatus ] { + + - Parameters [1] { + Parameter #0 [ $response_status ] + } + } + + Method [ public method getRequestMethod ] { + + - Parameters [0] { + } + } + + Method [ public method setRequestMethod ] { + + - Parameters [1] { + Parameter #0 [ $request_method ] + } + } + + Method [ public method getRequestUrl ] { + + - Parameters [0] { + } + } + + Method [ public method setRequestUrl ] { + + - Parameters [1] { + Parameter #0 [ $url ] + } + } + + Method [ public method getHttpVersion ] { + + - Parameters [0] { + } + } + + Method [ public method setHttpVersion ] { + + - Parameters [1] { + Parameter #0 [ $http_version ] + } + } + + Method [ public method getParentMessage ] { + + - Parameters [0] { + } + } + + Method [ public method toString ] { + + - Parameters [1] { + Parameter #0 [ $include_parent ] + } + } + + Method [ public method toCallback ] { + + - Parameters [1] { + Parameter #0 [ $callback ] + } + } + + Method [ public method toStream ] { + + - Parameters [1] { + Parameter #0 [ $stream ] + } + } + + Method [ public method count ] { + + - Parameters [0] { + } + } + + Method [ public method serialize ] { + + - Parameters [0] { + } + } + + Method [ public method unserialize ] { + + - Parameters [1] { + Parameter #0 [ $serialized ] + } + } + + Method [ public method rewind ] { + + - Parameters [0] { + } + } + + Method [ public method valid ] { + + - Parameters [0] { + } + } + + Method [ public method current ] { + + - Parameters [0] { + } + } + + Method [ public method key ] { + + - Parameters [0] { + } + } + + Method [ public method next ] { + + - Parameters [0] { + } + } + + Method [ public method __toString ] { + + - Parameters [0] { + } + } + + Method [ public method detach ] { + + - Parameters [0] { + } + } + + Method [ public method prepend ] { + + - Parameters [2] { + Parameter #0 [ http\Message $message ] + Parameter #1 [ $top ] + } + } + + Method [ public method reverse ] { + + - Parameters [0] { + } + } + + Method [ public method isMultipart ] { + + - Parameters [1] { + Parameter #0 [ &$boundary ] + } + } + + Method [ public method splitMultipartBody ] { + + - Parameters [0] { + } + } + } + } + + Class [ class http\Url ] { + + - Constants [13] { + Constant [ integer REPLACE ] { 0 } + Constant [ integer JOIN_PATH ] { 1 } + Constant [ integer JOIN_QUERY ] { 2 } + Constant [ integer STRIP_USER ] { 4 } + Constant [ integer STRIP_PASS ] { 8 } + Constant [ integer STRIP_AUTH ] { 12 } + Constant [ integer STRIP_PORT ] { 32 } + Constant [ integer STRIP_PATH ] { 64 } + Constant [ integer STRIP_QUERY ] { 128 } + Constant [ integer STRIP_FRAGMENT ] { 256 } + Constant [ integer STRIP_ALL ] { 492 } + Constant [ integer FROM_ENV ] { 4096 } + Constant [ integer SANITIZE_PATH ] { 8192 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [8] { + Property [ public $scheme ] + Property [ public $user ] + Property [ public $pass ] + Property [ public $host ] + Property [ public $port ] + Property [ public $path ] + Property [ public $query ] + Property [ public $fragment ] + } + + - Methods [5] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $old_url ] + Parameter #1 [ $new_url ] + Parameter #2 [ $flags ] + } + } + + Method [ public method mod ] { + + - Parameters [2] { + Parameter #0 [ $more_url_parts ] + Parameter #1 [ $flags ] + } + } + + Method [ public method toString ] { + + - Parameters [0] { + } + } + + Method [ public method __toString ] { + + - Parameters [0] { + } + } + + Method [ public method toArray ] { + + - Parameters [0] { + } + } + } + } + + Class [ class http\Env ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [13] { + Method [ static public method getRequestHeader ] { + + - Parameters [1] { + Parameter #0 [ $header_name ] + } + } + + Method [ static public method getRequestBody ] { + + - Parameters [1] { + Parameter #0 [ $body_class_name ] + } + } + + Method [ static public method getResponseStatusForCode ] { + + - Parameters [1] { + Parameter #0 [ $code ] + } + } + + Method [ static public method getResponseStatusForAllCodes ] { + + - Parameters [0] { + } + } + + Method [ static public method getResponseHeader ] { + + - Parameters [1] { + Parameter #0 [ $header_name ] + } + } + + Method [ static public method getResponseCode ] { + + - Parameters [0] { + } + } + + Method [ static public method setResponseHeader ] { + + - Parameters [4] { + Parameter #0 [ $header_name ] + Parameter #1 [ $header_value ] + Parameter #2 [ $response_code ] + Parameter #3 [ $replace_header ] + } + } + + Method [ static public method setResponseCode ] { + + - Parameters [1] { + Parameter #0 [ $code ] + } + } + + Method [ static public method negotiateLanguage ] { + + - Parameters [2] { + Parameter #0 [ $supported ] + Parameter #1 [ &$result_array ] + } + } + + Method [ static public method negotiateContentType ] { + + - Parameters [2] { + Parameter #0 [ $supported ] + Parameter #1 [ &$result_array ] + } + } + + Method [ static public method negotiateEncoding ] { + + - Parameters [2] { + Parameter #0 [ $supported ] + Parameter #1 [ &$result_array ] + } + } + + Method [ static public method negotiateCharset ] { + + - Parameters [2] { + Parameter #0 [ $supported ] + Parameter #1 [ &$result_array ] + } + } + + Method [ static public method negotiate ] { + + - Parameters [4] { + Parameter #0 [ $params ] + Parameter #1 [ $supported ] + Parameter #2 [ $primary_type_separator ] + Parameter #3 [ &$result_array ] + } + } + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ class http\Env\Request extends http\Message implements Traversable, Iterator, Serializable, Countable ] { + + - Constants [3] { + Constant [ integer TYPE_NONE ] { 0 } + Constant [ integer TYPE_REQUEST ] { 1 } + Constant [ integer TYPE_RESPONSE ] { 2 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [12] { + Property [ protected $type ] + Property [ protected $body ] + Property [ protected $requestMethod ] + Property [ protected $requestUrl ] + Property [ protected $responseStatus ] + Property [ protected $responseCode ] + Property [ protected $httpVersion ] + Property [ protected $headers ] + Property [ protected $parentMessage ] + Property [ protected $query ] + Property [ protected $form ] + Property [ protected $files ] + } + + - Methods [45] { + Method [ public method __construct ] { + + - Parameters [0] { + } + } + + Method [ public method getForm ] { + + - Parameters [4] { + Parameter #0 [ $name ] + Parameter #1 [ $type ] + Parameter #2 [ $defval ] + Parameter #3 [ $delete ] + } + } + + Method [ public method getQuery ] { + + - Parameters [4] { + Parameter #0 [ $name ] + Parameter #1 [ $type ] + Parameter #2 [ $defval ] + Parameter #3 [ $delete ] + } + } + + Method [ public method getFiles ] { + + - Parameters [0] { + } + } + + Method [ public method getBody ] { + + - Parameters [0] { + } + } + + Method [ public method setBody ] { + + - Parameters [1] { + Parameter #0 [ http\Message\Body $body ] + } + } + + Method [ public method addBody ] { + + - Parameters [1] { + Parameter #0 [ http\Message\Body $body ] + } + } + + Method [ public method getHeader ] { + + - Parameters [2] { + Parameter #0 [ $header ] + Parameter #1 [ $into_class ] + } + } + + Method [ public method setHeader ] { + + - Parameters [2] { + Parameter #0 [ $header ] + Parameter #1 [ $value ] + } + } + + Method [ public method addHeader ] { + + - Parameters [2] { + Parameter #0 [ $header ] + Parameter #1 [ $value ] + } + } + + Method [ public method getHeaders ] { + + - Parameters [0] { + } + } + + Method [ public method setHeaders ] { + + - Parameters [1] { + Parameter #0 [ array or NULL $headers ] + } + } + + Method [ public method addHeaders ] { + + - Parameters [2] { + Parameter #0 [ array $headers ] + Parameter #1 [ $append ] + } + } + + Method [ public method getType ] { + + - Parameters [0] { + } + } + + Method [ public method setType ] { + + - Parameters [1] { + Parameter #0 [ $type ] + } + } + + Method [ public method getInfo ] { + + - Parameters [0] { + } + } + + Method [ public method setInfo ] { + + - Parameters [1] { + Parameter #0 [ $http_info ] + } + } + + Method [ public method getResponseCode ] { + + - Parameters [0] { + } + } + + Method [ public method setResponseCode ] { + + - Parameters [2] { + Parameter #0 [ $response_code ] + Parameter #1 [ $strict ] + } + } + + Method [ public method getResponseStatus ] { + + - Parameters [0] { + } + } + + Method [ public method setResponseStatus ] { + + - Parameters [1] { + Parameter #0 [ $response_status ] + } + } + + Method [ public method getRequestMethod ] { + + - Parameters [0] { + } + } + + Method [ public method setRequestMethod ] { + + - Parameters [1] { + Parameter #0 [ $request_method ] + } + } + + Method [ public method getRequestUrl ] { + + - Parameters [0] { + } + } + + Method [ public method setRequestUrl ] { + + - Parameters [1] { + Parameter #0 [ $url ] + } + } + + Method [ public method getHttpVersion ] { + + - Parameters [0] { + } + } + + Method [ public method setHttpVersion ] { + + - Parameters [1] { + Parameter #0 [ $http_version ] + } + } + + Method [ public method getParentMessage ] { + + - Parameters [0] { + } + } + + Method [ public method toString ] { + + - Parameters [1] { + Parameter #0 [ $include_parent ] + } + } + + Method [ public method toCallback ] { + + - Parameters [1] { + Parameter #0 [ $callback ] + } + } + + Method [ public method toStream ] { + + - Parameters [1] { + Parameter #0 [ $stream ] + } + } + + Method [ public method count ] { + + - Parameters [0] { + } + } + + Method [ public method serialize ] { + + - Parameters [0] { + } + } + + Method [ public method unserialize ] { + + - Parameters [1] { + Parameter #0 [ $serialized ] + } + } + + Method [ public method rewind ] { + + - Parameters [0] { + } + } + + Method [ public method valid ] { + + - Parameters [0] { + } + } + + Method [ public method current ] { + + - Parameters [0] { + } + } + + Method [ public method key ] { + + - Parameters [0] { + } + } + + Method [ public method next ] { + + - Parameters [0] { + } + } + + Method [ public method __toString ] { + + - Parameters [0] { + } + } + + Method [ public method detach ] { + + - Parameters [0] { + } + } + + Method [ public method prepend ] { + + - Parameters [2] { + Parameter #0 [ http\Message $message ] + Parameter #1 [ $top ] + } + } + + Method [ public method reverse ] { + + - Parameters [0] { + } + } + + Method [ public method isMultipart ] { + + - Parameters [1] { + Parameter #0 [ &$boundary ] + } + } + + Method [ public method splitMultipartBody ] { + + - Parameters [0] { + } + } + } + } + + Class [ class http\Env\Response extends http\Message implements Traversable, Iterator, Serializable, Countable ] { + + - Constants [8] { + Constant [ integer TYPE_NONE ] { 0 } + Constant [ integer TYPE_REQUEST ] { 1 } + Constant [ integer TYPE_RESPONSE ] { 2 } + Constant [ integer CONTENT_ENCODING_NONE ] { 0 } + Constant [ integer CONTENT_ENCODING_GZIP ] { 1 } + Constant [ integer CACHE_NO ] { 0 } + Constant [ integer CACHE_HIT ] { 1 } + Constant [ integer CACHE_MISS ] { 2 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [18] { + Property [ protected $type ] + Property [ protected $body ] + Property [ protected $requestMethod ] + Property [ protected $requestUrl ] + Property [ protected $responseStatus ] + Property [ protected $responseCode ] + Property [ protected $httpVersion ] + Property [ protected $headers ] + Property [ protected $parentMessage ] + Property [ protected $request ] + Property [ protected $contentType ] + Property [ protected $contentDisposition ] + Property [ protected $contentEncoding ] + Property [ protected $cacheControl ] + Property [ protected $etag ] + Property [ protected $lastModified ] + Property [ protected $throttleDelay ] + Property [ protected $throttleChunk ] + } + + - Methods [54] { + Method [ public method __construct ] { + + - Parameters [0] { + } + } + + Method [ public method __invoke ] { + + - Parameters [2] { + Parameter #0 [ $ob_string ] + Parameter #1 [ $ob_flags ] + } + } + + Method [ public method setEnvRequest ] { + + - Parameters [1] { + Parameter #0 [ http\Message or NULL $env_request ] + } + } + + Method [ public method setContentType ] { + + - Parameters [1] { + Parameter #0 [ $content_type ] + } + } + + Method [ public method setContentDisposition ] { + + - Parameters [1] { + Parameter #0 [ array or NULL $disposition_params ] + } + } + + Method [ public method setContentEncoding ] { + + - Parameters [1] { + Parameter #0 [ $content_encoding ] + } + } + + Method [ public method setCacheControl ] { + + - Parameters [1] { + Parameter #0 [ $cache_control ] + } + } + + Method [ public method setLastModified ] { + + - Parameters [1] { + Parameter #0 [ $last_modified ] + } + } + + Method [ public method isCachedByLastModified ] { + + - Parameters [1] { + Parameter #0 [ $header_name ] + } + } + + Method [ public method setEtag ] { + + - Parameters [1] { + Parameter #0 [ $etag ] + } + } + + Method [ public method isCachedByEtag ] { + + - Parameters [1] { + Parameter #0 [ $header_name ] + } + } + + Method [ public method setThrottleRate ] { + + - Parameters [2] { + Parameter #0 [ $chunk_size ] + Parameter #1 [ $delay ] + } + } + + Method [ public method send ] { + + - Parameters [1] { + Parameter #0 [ $stream ] + } + } + + Method [ public method getBody ] { + + - Parameters [0] { + } + } + + Method [ public method setBody ] { + + - Parameters [1] { + Parameter #0 [ http\Message\Body $body ] + } + } + + Method [ public method addBody ] { + + - Parameters [1] { + Parameter #0 [ http\Message\Body $body ] + } + } + + Method [ public method getHeader ] { + + - Parameters [2] { + Parameter #0 [ $header ] + Parameter #1 [ $into_class ] + } + } + + Method [ public method setHeader ] { + + - Parameters [2] { + Parameter #0 [ $header ] + Parameter #1 [ $value ] + } + } + + Method [ public method addHeader ] { + + - Parameters [2] { + Parameter #0 [ $header ] + Parameter #1 [ $value ] + } + } + + Method [ public method getHeaders ] { + + - Parameters [0] { + } + } + + Method [ public method setHeaders ] { + + - Parameters [1] { + Parameter #0 [ array or NULL $headers ] + } + } + + Method [ public method addHeaders ] { + + - Parameters [2] { + Parameter #0 [ array $headers ] + Parameter #1 [ $append ] + } + } + + Method [ public method getType ] { + + - Parameters [0] { + } + } + + Method [ public method setType ] { + + - Parameters [1] { + Parameter #0 [ $type ] + } + } + + Method [ public method getInfo ] { + + - Parameters [0] { + } + } + + Method [ public method setInfo ] { + + - Parameters [1] { + Parameter #0 [ $http_info ] + } + } + + Method [ public method getResponseCode ] { + + - Parameters [0] { + } + } + + Method [ public method setResponseCode ] { + + - Parameters [2] { + Parameter #0 [ $response_code ] + Parameter #1 [ $strict ] + } + } + + Method [ public method getResponseStatus ] { + + - Parameters [0] { + } + } + + Method [ public method setResponseStatus ] { + + - Parameters [1] { + Parameter #0 [ $response_status ] + } + } + + Method [ public method getRequestMethod ] { + + - Parameters [0] { + } + } + + Method [ public method setRequestMethod ] { + + - Parameters [1] { + Parameter #0 [ $request_method ] + } + } + + Method [ public method getRequestUrl ] { + + - Parameters [0] { + } + } + + Method [ public method setRequestUrl ] { + + - Parameters [1] { + Parameter #0 [ $url ] + } + } + + Method [ public method getHttpVersion ] { + + - Parameters [0] { + } + } + + Method [ public method setHttpVersion ] { + + - Parameters [1] { + Parameter #0 [ $http_version ] + } + } + + Method [ public method getParentMessage ] { + + - Parameters [0] { + } + } + + Method [ public method toString ] { + + - Parameters [1] { + Parameter #0 [ $include_parent ] + } + } + + Method [ public method toCallback ] { + + - Parameters [1] { + Parameter #0 [ $callback ] + } + } + + Method [ public method toStream ] { + + - Parameters [1] { + Parameter #0 [ $stream ] + } + } + + Method [ public method count ] { + + - Parameters [0] { + } + } + + Method [ public method serialize ] { + + - Parameters [0] { + } + } + + Method [ public method unserialize ] { + + - Parameters [1] { + Parameter #0 [ $serialized ] + } + } + + Method [ public method rewind ] { + + - Parameters [0] { + } + } + + Method [ public method valid ] { + + - Parameters [0] { + } + } + + Method [ public method current ] { + + - Parameters [0] { + } + } + + Method [ public method key ] { + + - Parameters [0] { + } + } + + Method [ public method next ] { + + - Parameters [0] { + } + } + + Method [ public method __toString ] { + + - Parameters [0] { + } + } + + Method [ public method detach ] { + + - Parameters [0] { + } + } + + Method [ public method prepend ] { + + - Parameters [2] { + Parameter #0 [ http\Message $message ] + Parameter #1 [ $top ] + } + } + + Method [ public method reverse ] { + + - Parameters [0] { + } + } + + Method [ public method isMultipart ] { + + - Parameters [1] { + Parameter #0 [ &$boundary ] + } + } + + Method [ public method splitMultipartBody ] { + + - Parameters [0] { + } + } + } + } + + Class [ class http\Params implements ArrayAccess ] { + + - Constants [9] { + Constant [ string DEF_PARAM_SEP ] { , } + Constant [ string DEF_ARG_SEP ] { ; } + Constant [ string DEF_VAL_SEP ] { = } + Constant [ string COOKIE_PARAM_SEP ] { } + Constant [ integer PARSE_RAW ] { 0 } + Constant [ integer PARSE_DEFAULT ] { 1 } + Constant [ integer PARSE_URLENCODED ] { 4 } + Constant [ integer PARSE_DIMENSION ] { 8 } + Constant [ integer PARSE_QUERY ] { 12 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [5] { + Property [ public $params ] + Property [ public $param_sep ] + Property [ public $arg_sep ] + Property [ public $val_sep ] + Property [ public $flags ] + } + + - Methods [8] { + Method [ final public method __construct ] { + + - Parameters [5] { + Parameter #0 [ $params ] + Parameter #1 [ $param_sep ] + Parameter #2 [ $arg_sep ] + Parameter #3 [ $val_sep ] + Parameter #4 [ $flags ] + } + } + + Method [ public method toArray ] { + + - Parameters [0] { + } + } + + Method [ public method toString ] { + + - Parameters [0] { + } + } + + Method [ public method __toString ] { + + - Parameters [0] { + } + } + + Method [ public method offsetExists ] { + + - Parameters [1] { + Parameter #0 [ $name ] + } + } + + Method [ public method offsetUnset ] { + + - Parameters [1] { + Parameter #0 [ $name ] + } + } + + Method [ public method offsetSet ] { + + - Parameters [2] { + Parameter #0 [ $name ] + Parameter #1 [ $value ] + } + } + + Method [ public method offsetGet ] { + + - Parameters [1] { + Parameter #0 [ $name ] + } + } + } + } + } +} + diff --git a/php-pecl-http.spec b/php-pecl-http.spec index 3030355..56ccfbe 100644 --- a/php-pecl-http.spec +++ b/php-pecl-http.spec @@ -27,7 +27,7 @@ Name: %{?scl_prefix}php-pecl-http Version: 2.0.6 -Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} +Release: 2%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} Summary: Extended HTTP support License: BSD @@ -87,8 +87,13 @@ Requires: %{?scl_prefix}php-spl%{?_isa} %endif Requires: %{?scl_prefix}php-pecl(propro)%{?_isa} Requires: %{?scl_prefix}php-pecl(raphf)%{?_isa} +%if "%{php_version}" > "5.6" +# V1 don't support PHP 5.6 https://bugs.php.net/66879 +Obsoletes: %{?scl_prefix}php-pecl-http1 < 2 +%else # Can't install both versions of the same extension Conflicts: %{?scl_prefix}php-pecl-http1 +%endif Provides: %{?scl_prefix}php-pecl(%{proj_name}) = %{version}%{?prever} Provides: %{?scl_prefix}php-pecl(%{proj_name})%{?_isa} = %{version}%{?prever} @@ -279,6 +284,9 @@ rm -rf %{buildroot} %changelog +* Wed May 14 2014 Remi Collet - 2.0.6-2 +- php56: obsoletes php-pecl-http1 + * Thu Apr 24 2014 Remi Collet - 2.0.6-1 - Update to 2.0.6 -- cgit