HH\Lib\Experimental\IO\request_input

Return the input handle for the current request

namespace HH\Lib\Experimental\IO;

function request_input(): CloseableReadHandle;

In CLI mode, this is likely STDIN; for HTTP requests, it may contain the POST data, if any.

Returns