mdref.json config
[mdref/mdref-http] / http / Env / Response / setEtag.md
1 # http\Env\Response http\Env\Response::setEtag(string $etag)
2
3 Set a custom ETag.
4
5 > ***NOTE:***
6 > This will be used for caching and pre-condition checks.
7
8 ## Params:
9
10 * string $etag
11 A ETag.
12
13 ## Returns:
14
15 * http\Env\Response, self.
16
17 ## Throws:
18
19 * http\Exception\InvalidArgumentException