From 8f6f66151691b684184b65648f77aac8177143c4 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 7 Dec 2015 15:14:30 +0100 Subject: php-pecl-http: 3.0.0RC1 --- REFLECTION-PHP7 | 3882 +++++++++++++++++++++++++++++++++++++++++++++++ php-pecl-http-php7.spec | 26 +- 2 files changed, 3898 insertions(+), 10 deletions(-) create mode 100644 REFLECTION-PHP7 diff --git a/REFLECTION-PHP7 b/REFLECTION-PHP7 new file mode 100644 index 0000000..c535581 --- /dev/null +++ b/REFLECTION-PHP7 @@ -0,0 +1,3882 @@ +Extension [ extension #106 http version 3.0.0RC1 ] { + + - Dependencies { + Dependency [ raphf (Required) ] + Dependency [ propro (Required) ] + Dependency [ spl (Required) ] + Dependency [ hash (Required) ] + Dependency [ iconv (Required) ] + } + + - INI { + Entry [ http.etag.mode ] + Current = 'crc32b' + } + } + + - Constants [30] { + 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_2_0 ] { 3 } + 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_TLSv1_0 ] { 4 } + Constant [ integer http\Client\Curl\SSL_VERSION_TLSv1_1 ] { 5 } + Constant [ integer http\Client\Curl\SSL_VERSION_TLSv1_2 ] { 6 } + 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_303 ] { 4 } + Constant [ integer http\Client\Curl\POSTREDIR_ALL ] { 7 } + } + + - Classes [30] { + Interface [ interface http\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ class http\Exception\RuntimeException extends RuntimeException implements Throwable, 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 [10] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ public method __wakeup ] { + } + + 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 Throwable, 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 [10] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ public method __wakeup ] { + } + + 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 Throwable, 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 [10] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ public method __wakeup ] { + } + + 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 Throwable, 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 [10] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ public method __wakeup ] { + } + + 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 Throwable, 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 [10] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ public method __wakeup ] { + } + + 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 Throwable, 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 [10] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ public method __wakeup ] { + } + + 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 Throwable, 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 [10] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ public method __wakeup ] { + } + + 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 Throwable, 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 [10] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ public method __wakeup ] { + } + + 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 Throwable, 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 [10] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ public method __wakeup ] { + } + + 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\Header\Parser ] { + + - Constants [8] { + Constant [ integer CLEANUP ] { 1 } + Constant [ integer STATE_FAILURE ] { -1 } + Constant [ integer STATE_START ] { 0 } + Constant [ integer STATE_KEY ] { 1 } + Constant [ integer STATE_VALUE ] { 2 } + Constant [ integer STATE_VALUE_EX ] { 3 } + Constant [ integer STATE_HEADER_DONE ] { 4 } + Constant [ integer STATE_DONE ] { 5 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [3] { + Method [ public method getState ] { + + - Parameters [0] { + } + } + + Method [ public method parse ] { + + - Parameters [3] { + Parameter #0 [ $data ] + Parameter #1 [ $flags ] + Parameter #2 [ array or NULL &$headers ] + } + } + + Method [ public method stream ] { + + - Parameters [3] { + Parameter #0 [ $stream ] + Parameter #1 [ $flags ] + Parameter #2 [ array or NULL &$headers ] + } + } + } + } + + 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\Parser ] { + + - Constants [15] { + Constant [ integer CLEANUP ] { 1 } + Constant [ integer DUMB_BODIES ] { 2 } + Constant [ integer EMPTY_REDIRECTS ] { 4 } + Constant [ integer GREEDY ] { 8 } + Constant [ integer STATE_FAILURE ] { -1 } + Constant [ integer STATE_START ] { 0 } + Constant [ integer STATE_HEADER ] { 1 } + Constant [ integer STATE_HEADER_DONE ] { 2 } + Constant [ integer STATE_BODY ] { 3 } + Constant [ integer STATE_BODY_DUMB ] { 4 } + Constant [ integer STATE_BODY_LENGTH ] { 5 } + Constant [ integer STATE_BODY_CHUNKED ] { 6 } + Constant [ integer STATE_BODY_DONE ] { 7 } + Constant [ integer STATE_UPDATE_CL ] { 8 } + Constant [ integer STATE_DONE ] { 9 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [3] { + Method [ public method getState ] { + + - Parameters [0] { + } + } + + Method [ public method parse ] { + + - Parameters [3] { + Parameter #0 [ $data ] + Parameter #1 [ $flags ] + Parameter #2 [ &$message ] + } + } + + Method [ public method stream ] { + + - Parameters [3] { + Parameter #0 [ $stream ] + Parameter #1 [ $flags ] + Parameter #2 [ &$message ] + } + } + } + } + + 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 ] { 13 } + Constant [ integer TYPE_INT ] { 4 } + Constant [ integer TYPE_FLOAT ] { 5 } + Constant [ integer TYPE_STRING ] { 6 } + Constant [ integer TYPE_ARRAY ] { 7 } + Constant [ integer TYPE_OBJECT ] { 8 } + } + + - 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 [30] { + 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 configure ] { + + - Parameters [1] { + Parameter #0 [ array or NULL $settings ] + } + } + + 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] { + } + } + + Method [ public method getAvailableOptions ] { + + - Parameters [0] { + } + } + + Method [ public method getAvailableConfiguration ] { + + - 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 [17] { + 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 } + Constant [ integer PARSE_MBLOC ] { 65536 } + Constant [ integer PARSE_MBUTF8 ] { 131072 } + Constant [ integer PARSE_TOIDN ] { 1048576 } + Constant [ integer PARSE_TOPCT ] { 2097152 } + } + + - 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\Url extends http\Url ] { + + - Constants [17] { + 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 } + Constant [ integer PARSE_MBLOC ] { 65536 } + Constant [ integer PARSE_MBUTF8 ] { 131072 } + Constant [ integer PARSE_TOIDN ] { 1048576 } + Constant [ integer PARSE_TOPCT ] { 2097152 } + } + + - 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 [13] { + 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 $cookie ] + Property [ protected $files ] + } + + - Methods [46] { + 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 getCookie ] { + + - 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 [19] { + 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 $cookies ] + 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 [55] { + 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 setCookie ] { + + - Parameters [1] { + Parameter #0 [ $cookie ] + } + } + + 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 [12] { + 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_ESCAPED ] { 1 } + Constant [ integer PARSE_URLENCODED ] { 4 } + Constant [ integer PARSE_DIMENSION ] { 8 } + Constant [ integer PARSE_RFC5987 ] { 16 } + Constant [ integer PARSE_RFC5988 ] { 32 } + Constant [ integer PARSE_DEFAULT ] { 17 } + 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-php7.spec b/php-pecl-http-php7.spec index c4294ab..c87236a 100644 --- a/php-pecl-http-php7.spec +++ b/php-pecl-http-php7.spec @@ -24,11 +24,12 @@ %{!?__pecl: %global __pecl %{_bindir}/pecl} %{!?__php: %global __php %{_bindir}/php} -# %global gh_commit a84b499418ee7b8992fd9e7e2abc661735a869bd +%global gh_commit a84b499418ee7b8992fd9e7e2abc661735a869bd %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner m6w6 %global gh_project ext-http -%global gh_date 20150928 +#global gh_date 20150928 +%global prever RC1 # The project is pecl_http but the extension is only http %global proj_name pecl_http %global pecl_name http @@ -45,17 +46,18 @@ #global prever RC1 Name: %{?sub_prefix}php-pecl-http Version: 3.0.0 +%if 0%{?gh_date:1} Release: 0.1.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{pecl_name}-%{version}-%{gh_short}.tar.gz +%else +Release: 0.2.%{prever}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Source0: http://pecl.php.net/get/%{proj_name}-%{version}%{?prever}.tgz +%endif Summary: Extended HTTP support License: BSD Group: Development/Languages URL: http://pecl.php.net/package/pecl_http -%if 0%{?gh_short:1} -Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{pecl_name}-%{version}-%{gh_short}.tar.gz -%else -Source0: http://pecl.php.net/get/%{proj_name}-%{version}%{?prever}.tgz -%endif # From http://www.php.net/manual/en/http.configuration.php Source1: %{proj_name}.ini @@ -178,7 +180,7 @@ These are the files needed to compile programs using HTTP extension. %prep %setup -c -q -%if 0%{?gh_short:1} +%if 0%{?gh_date} mv %{gh_project}-%{gh_commit} NTS mv NTS/package.xml . %else @@ -188,8 +190,8 @@ mv %{proj_name}-%{version}%{?prever} NTS cd NTS extver=$(sed -n '/#define PHP_PECL_HTTP_VERSION/{s/.* "//;s/".*$//;p}' php_http.h) -if test "x${extver}" != "x%{version}%{?gh_date:dev}"; then - : Error: Upstream HTTP version is now ${extver}, expecting %{version}%{?gh_date:dev}. +if test "x${extver}" != "x%{version}%{?prever}%{?gh_date:dev}"; then + : Error: Upstream HTTP version is now ${extver}, expecting %{version}%{?prever}%{?gh_date:dev}. : Update the pdover macro and rebuild. exit 1 fi @@ -257,6 +259,7 @@ done %check sed -e 's/134217960/1342179%d/' -i ?TS/tests/client026.phpt +sed -e '/sha3-/d' -i ?TS/tests/etag001.phpt export REPORT_EXIT_STATUS=1 @@ -356,6 +359,9 @@ rm -rf %{buildroot} %changelog +* Mon Dec 7 2015 Remi Collet - 3.0.0-0.2.RC1 +- Update to 3.0.0RC1 (beta) + * Wed Oct 28 2015 Remi Collet - 3.0.0-0.1.20150928gita84b499 - update to 3.0.0dev for PHP 7 -- cgit