HttpResponse::setETag
(PECL pecl_http >= 0.10.0)
HttpResponse::setETag — Set ETag
说明
static
bool HttpResponse::setETag
( string
$etag
)Set a custom ETag. Use this only if you know what you're doing.
参数
-
etag -
unquoted string as parameter containing the ETag
返回值
成功时返回 TRUE, 或者在失败时返回 FALSE。
参见
- HttpResponse::getLastModified() - Get last modified
- HttpResponse::setLastModified() - Set last modified
- HttpResponse::getETag() - Get ETag
There are no user contributed notes for this page.
