HH\Lib\IO\request_output

Facebook Engineer?

This function is available as IO\request_output() in Facebook's www repository.

Return the output handle for the current request

namespace HH\Lib\IO;

function request_output(): WriteHandle;

This should generally be used for sending data to clients. In CLI mode, this is usually the process STDOUT.

This MAY be a CloseableWriteFDHandle.

Returns