Clase HttpResponse
PHP Manual

HttpResponse::setETag

(PECL pecl_http >= 0.10.0)

HttpResponse::setETagSet ETag

Descripción

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

Valores devueltos

Devuelve TRUE en caso de éxito o FALSE en caso de error.

Ver también


Clase HttpResponse
PHP Manual