Login | Packages | Support | Bugs 

Top Level :: System :: request

request 1.0.0b2

Package Information
Summary Provides server-side request and response objects.
Maintainers Paul Jones (lead) [details]
John Boehr <jbboehr@gmail.com> (lead) [details]
License MIT
Description This extension provides server-side request and response objects for PHP 7.
These are *not* HTTP message objects proper. They are more like wrappers
for existing global PHP variables and functions, with some limited
additional convenience functionality.

This extension defines two classes in the global namespace:

- ServerRequest, composed of read-only copies of PHP superglobals and some
other commonly-used values, with methods for adding application-specific
request information in immutable fashion.

- ServerResponse, essentially a wrapper around (and buffer for) response-
related PHP functions, with some additional convenience methods, and self-
sending capability.

Documentation: https://github.com/pmjones/ext-request

A PHP 5 userland implementation that tracks this extension is available at
https://packagist.org/packages/pmjones/request .
Homepage https://github.com/pmjones/ext-request
Release notes
Version 1.0.0b2
(beta)
Added:

- Support for multiple header callbacks, a la header_register_callback, with
new methods ServerResponse::setHeaderCallbacks(), addHeaderCallback(), and
getHeaderCallbacks().

[ Latest Tarball ] [ Changelog ] [ View Statistics ]
[ Browse Source[ Package Bugs ][ View Documentation ]

Dependencies for release 1.0.0b2
PHP Version: PHP 7.0.0 or newer
PEAR Package: PEAR 1.4.1 or newer
PRIVACY POLICY | CREDITS
Copyright © 2001-2017 The PHP Group
All rights reserved.
Last updated: Thu Mar 26 06:22:20 2015 UTC
Bandwidth and hardware provided by: pair Networks