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

参见

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top