src/Http/Middleware/RateLimit.php
protected function responseWithHeaders($response)
    {
        foreach ($this->getHeaders() as $key => $value) {
            $response->headers->set($key, $value);
        }

        return $response;
    }
protected function responseWithHeaders($response)
    {
        foreach ($this->getHeaders() as $key => $value) {
            $response->headers->set($key, $value);
        }

        return $response;
    }
protected function responseWithHeaders ( $ response ) { foreach ( $ this -> getHeaders ( ) as $ key => $ value ) { $ response -> headers -> set ( $ key , $ value ) ; } return $ response ; }
Send the response with the rate limit headers.

@param \Dingo\Api\Http\Response $response

@return \Dingo\Api\Http\Response
Send the response with the rate limit headers .