The HttpResponse
PHP Manual

HttpResponse::setETag

(PECL pecl_http:0.10.0-1.5.5)

HttpResponse::setETagSet ETag

Opis

static bool HttpResponse::setETag ( string $etag )

Set a custom ETag. Use this only if you know what you're doing.

Parametry

etag

unquoted string as parameter containing the ETag

Zwracane wartości

Zwraca TRUE w przypadku powodzenia, FALSE w przypadku błędu.

Patrz także


The HttpResponse
PHP Manual