HttpResponse::setLastModified
(PECL pecl_http >= 0.12.0)
HttpResponse::setLastModified — Set last modified
说明
static
bool HttpResponse::setLastModified
( int
$timestamp
)Set a custom Last-Modified date.
参数
-
timestamp -
Unix timestamp representing the last modification time of the sent entity
返回值
成功时返回 TRUE, 或者在失败时返回 FALSE。
参见
- HttpResponse::getLastModified() - Get last modified
- HttpResponse::getETag() - Get ETag
- HttpResponse::setETag() - Set ETag
There are no user contributed notes for this page.
