The HttpResponse
PHP Manual

HttpResponse::setETag

(PECL pecl_http >= 0.10.0)

HttpResponse::setETagSet 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 при неуспех.

Вж. също


The HttpResponse
PHP Manual