public function SetCookie::setHttpOnly in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/guzzlehttp/guzzle/src/Cookie/SetCookie.php \GuzzleHttp\Cookie\SetCookie::setHttpOnly()
 
Set whether or not this is an HTTP only cookie
Parameters
bool $httpOnly Set to true or false if this is HTTP only:
File
- vendor/
guzzlehttp/ guzzle/ src/ Cookie/ SetCookie.php, line 283  
Class
- SetCookie
 - Set-Cookie object
 
Namespace
GuzzleHttp\CookieCode
public function setHttpOnly($httpOnly) {
  $this->data['HttpOnly'] = $httpOnly;
}