Extension [ extension #115 request version 1.0.0b1 ] { - Dependencies { Dependency [ spl (Required) ] Dependency [ date (Required) ] Dependency [ json (Optional) ] } - Classes [2] { Class [ class ServerRequest ] { - Constants [0] { } - Static properties [0] { } - Static methods [3] { Method [ static public method parseAccept ] { - Parameters [1] { Parameter #0 [ string $header ] } - Return [ array or NULL ] } Method [ static public method parseContentType ] { - Parameters [1] { Parameter #0 [ string $header ] } - Return [ array or NULL ] } Method [ static public method parseDigestAuth ] { - Parameters [1] { Parameter #0 [ string $header ] } - Return [ array or NULL ] } } - Properties [31] { Property [ private $_initialized ] Property [ public $accept ] Property [ public $acceptCharset ] Property [ public $acceptEncoding ] Property [ public $acceptLanguage ] Property [ public $authDigest ] Property [ public $authPw ] Property [ public $authType ] Property [ public $authUser ] Property [ public $content ] Property [ public $contentCharset ] Property [ public $contentLength ] Property [ public $contentMd5 ] Property [ public $contentType ] Property [ public $cookie ] Property [ public $env ] Property [ public $files ] Property [ public $forwarded ] Property [ public $forwardedFor ] Property [ public $forwardedHost ] Property [ public $forwardedProto ] Property [ public $get ] Property [ public $headers ] Property [ public $input ] Property [ public $method ] Property [ public $params ] Property [ public $post ] Property [ public $server ] Property [ public $uploads ] Property [ public $url ] Property [ public $xhr ] } - Methods [7] { Method [ public method __construct ] { - Parameters [1] { Parameter #0 [ array or NULL $globals ] } } Method [ final public method withInput ] { - Parameters [1] { Parameter #0 [ $input ] } - Return [ ServerRequest ] } Method [ final public method withParam ] { - Parameters [2] { Parameter #0 [ string $key ] Parameter #1 [ $val ] } - Return [ ServerRequest ] } Method [ final public method withParams ] { - Parameters [1] { Parameter #0 [ array $params ] } - Return [ ServerRequest ] } Method [ final public method withoutParam ] { - Parameters [1] { Parameter #0 [ string $key ] } - Return [ ServerRequest ] } Method [ final public method withoutParams ] { - Parameters [1] { Parameter #0 [ array or NULL $keys ] } - Return [ ServerRequest ] } Method [ final public method withUrl ] { - Parameters [1] { Parameter #0 [ array $url ] } - Return [ ServerRequest ] } } } Class [ class ServerResponse ] { - Constants [0] { } - Static properties [0] { } - Static methods [0] { } - Properties [5] { Property [ protected $version ] Property [ protected $status ] Property [ protected $headers ] Property [ protected $cookies ] Property [ protected $content ] } - Methods [22] { Method [ public method __construct ] { - Parameters [0] { } } Method [ public method getVersion ] { - Parameters [0] { } - Return [ string ] } Method [ public method setVersion ] { - Parameters [1] { Parameter #0 [ string $version ] } - Return [ null ] } Method [ public method getStatus ] { - Parameters [0] { } - Return [ integer ] } Method [ public method setStatus ] { - Parameters [1] { Parameter #0 [ integer $status ] } - Return [ null ] } Method [ public method getHeader ] { - Parameters [0] { } - Return [ string or NULL ] } Method [ public method getHeaders ] { - Parameters [0] { } - Return [ array ] } Method [ public method setHeader ] { - Parameters [2] { Parameter #0 [ string $label ] Parameter #1 [ $value ] } - Return [ null ] } Method [ public method addHeader ] { - Parameters [2] { Parameter #0 [ string $label ] Parameter #1 [ $value ] } - Return [ null ] } Method [ public method getCookies ] { - Parameters [0] { } - Return [ array ] } Method [ public method setCookie ] { - Parameters [7] { Parameter #0 [ $name ] Parameter #1 [ string $value ] Parameter #2 [ integer $expires ] Parameter #3 [ string $path ] Parameter #4 [ string $domain ] Parameter #5 [ $secure ] Parameter #6 [ $httponly ] } - Return [ null ] } Method [ public method setRawCookie ] { - Parameters [7] { Parameter #0 [ $name ] Parameter #1 [ string $value ] Parameter #2 [ integer $expires ] Parameter #3 [ string $path ] Parameter #4 [ string $domain ] Parameter #5 [ $secure ] Parameter #6 [ $httponly ] } - Return [ null ] } Method [ public method getContent ] { - Parameters [0] { } } Method [ public method setContent ] { - Parameters [1] { Parameter #0 [ $content ] } - Return [ null ] } Method [ public method setContentJson ] { - Parameters [3] { Parameter #0 [ $content ] Parameter #1 [ integer $options ] Parameter #2 [ integer $depth ] } - Return [ null ] } Method [ public method setContentDownload ] { - Parameters [4] { Parameter #0 [ resource $fh ] Parameter #1 [ string $name ] Parameter #2 [ string $disposition ] Parameter #3 [ array $params ] } - Return [ null ] } Method [ public method date ] { - Parameters [1] { Parameter #0 [ $date ] } - Return [ string ] } Method [ public method send ] { - Parameters [0] { } - Return [ null ] } Method [ protected method sendStatus ] { - Parameters [0] { } - Return [ null ] } Method [ protected method sendHeaders ] { - Parameters [0] { } - Return [ null ] } Method [ protected method sendCookies ] { - Parameters [0] { } - Return [ null ] } Method [ protected method sendContent ] { - Parameters [0] { } - Return [ null ] } } } } }