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