This commit is contained in:
Dennis Eichhorn 2023-09-22 17:56:11 +00:00
parent ddd1b04b3a
commit 94b293e1df

View File

@ -58,6 +58,12 @@ abstract class HeaderAbstract
*/ */
public int $status = 0; public int $status = 0;
/**
* Response timestamp.
*
* @var int
* @since 1.0.0
*/
public int $timestamp = 0; public int $timestamp = 0;
/** /**
@ -157,7 +163,10 @@ abstract class HeaderAbstract
* *
* @since 1.0.0 * @since 1.0.0
*/ */
abstract public function getRequestTime() : int; public function getRequestTime() : int
{
return $this->timestamp;
}
/** /**
* Push all headers. * Push all headers.