File path: dist/twist/Core/Utilities/Curl.utility.php
Namespace: Twist\Core\Utilities
Extends: Base
setCookies
— The contents of the "Cookie: " header to be used in the HTTP request. Note that multiple cookies are separated with a semicolon followed by a space (e.g., "fruit=apple; colour=red")
Name | Description |
---|---|
$strCookies | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$strCookies = 'foo';
//Call the function setCookies with the example vars
Twist::Curl() -> setCookies($strCookies);