HttpResponse::getData
HttpResponse::getFile
HttpResponse
PHP Manual

# HttpResponse::getETag

(PECL pecl_http >= 0.10.0)

HttpResponse::getETag — Get ETag

### Description

static string HttpResponse::getETag ( void )

Get calculated or previously set custom ETag.

### Return Values

Returns the calculated or previously set ETag as unquoted string.

### See Also

- HttpResponse::getLastModified() - Get last modified
- HttpResponse::setLastModified() - Set last modified
- HttpResponse::setETag() - Set ETag

HttpResponse::getData
HttpResponse::getFile
HttpResponse
PHP Manual