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
ischeck is expected. This removes the need formixedtypes on methods such asgetParsedBody() - similarly, removed
getAttribute StreamInterfacehas been removed, in favor ofHH\Lib\Experimental\IO\ReadHandleandWriteHandle- This means that
Messagedoes not expose the body - requests have a read handle, responses have a write handle - replace
?stringwithstringwhere 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