-
Notifications
You must be signed in to change notification settings - Fork 5
Cookies
Ale Mostajo edited this page Sep 4, 2020
·
1 revision
The client supports the ability to specify the location where cURL cookies will be stored.
Use method set($options)
to pass Cookie cURL options as an array
and change the default path:
Client::instance()
->set([
CURLOPT_COOKIEFILE => '/new-path/cookie_file.txt',
CURLOPT_COOKIEJAR => '/new-path/cookie_file.txt',
]);