src/Token.php
public function generateHttpHeaders($appKey, $time = null)
    {
        $headers = [];

        foreach ($this->generateDataForKey($appKey, $time) as $key => $value) {
            $headers['X-API-'.strtoupper($key)] = $value;
        }

        return $headers;
    }
public function generateHttpHeaders($appKey, $time = null)
    {
        $headers = [];

        foreach ($this->generateDataForKey($appKey, $time) as $key => $value) {
            $headers['X-API-'.strtoupper($key)] = $value;
        }

        return $headers;
    }
Generate HTTP headers with a new token.

@param  string  $appKey
@param  string|int|null  $time
@return array