HttpResponse::setETag
(PECL pecl_http:0.10.0-1.5.5)
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
Return值
如果成功則回傳 TRUE,失敗則回傳 FALSE。