HH\Lib\IO\request_input
Requires the Hack Standard Library - Experimental Additions to be installed.
Facebook Engineer?
This function is available as IO\request_input()
in Facebook's www repository.
Return the input handle for the current request
namespace HH\Lib\IO;
function request_input(): CloseableReadHandle;
In CLI mode, this is likely STDIN; for HTTP requests, it may contain the POST data, if any.