HH\Lib\IO\request_input

Meta Engineer?

This is available as IO\request_input in the www repository.

Return the input handle for the current request

namespace HH\Lib\IO;

function request_input(): ReadHandle;

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

This MAY be a CloseableReadFDHandle.

Returns