HttpResponse::setETag
(PECL pecl_http >= 0.10.0)
HttpResponse::setETag — Set ETag
Descrição
static
bool HttpResponse::setETag
( string
$etag
)Set a custom ETag. Use this only if you know what you're doing.
Parâmetros
-
etag -
unquoted string as parameter containing the ETag
Valor Retornado
Retorna TRUE em caso de sucesso ou FALSE em caso de falha.
Veja Também
- HttpResponse::getLastModified() - Get last modified
- HttpResponse::setLastModified() - Set last modified
- HttpResponse::getETag() - Get ETag