Devise\Support\DeviseResponse::stream PHP Method

stream() public method

Return a new streamed response from the application.
public stream ( Closure $callback, integer $status = 200, array $headers = [] ) : Symfony\Component\HttpFoundation\StreamedResponse
$callback Closure
$status integer
$headers array
return Symfony\Component\HttpFoundation\StreamedResponse
    public function stream($callback, $status = 200, array $headers = array())
    {
        return \Response::stream($callback, $status, $headers);
    }