src/mako/http/routing/traits/ControllerHelperTrait.php
protected function streamResponse(Closure $stream, ?string $contentType = null, ?string $charset = null): Stream
	{
		return new Stream($stream, $contentType, $charset);
	}
protected function streamResponse(Closure $stream, ?string $contentType = null, ?string $charset = null): Stream
	{
		return new Stream($stream, $contentType, $charset);
	}
protected function streamResponse ( Closure $ stream , ? string $ contentType = null , ? string $ charset = null ) : Stream { return new Stream ( $ stream , $ contentType , $ charset ) ; }
Returns a stream response container.

@param  \Closure                           $stream      Stream
@param  string|null                        $contentType Content type
@param  string|null                        $charset     Character set
@return \mako\http\response\senders\Stream
Returns a stream response container .