Releases: hhvm/hack-http-request-response-interfaces
Releases · hhvm/hack-http-request-response-interfaces
Support new hsl-experimental
This release adjusts to the renamed namespaces in the latest release of hsl-experimental; it does not contain other significant changes.
Support HHVM 4
This release contains no significant changes, but has updated dependency information.
Initial release
This release is derived from PSR-7, however many significant changes have been made. Highlights include:
- all implementation-defined objects have been removed; if these are required, an
is
check is expected. This removes the need formixed
types on methods such asgetParsedBody()
- similarly, removed
getAttribute
StreamInterface
has been removed, in favor ofHH\Lib\Experimental\IO\ReadHandle
andWriteHandle
- This means that
Message
does not expose the body - requests have a read handle, responses have a write handle - replace
?string
withstring
where there is not a meaningful distinction (in HTTP) between 'empty string' and 'not provided' - form variables are accessible via flat
dict<string, string>
structures, not arbitrarily nested trees