Рекурсивный акроним словосочетания «PHP: Hypertext Preprocessor»
Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 17112 программистов и 1833 робота. Сейчас ищут 1673 программиста ...
HTTP_Client_CookieManager::updateCookies()
Вернуться к: HTTP_Client
HTTP_Client_CookieManager::updateCookies()
HTTP_Client_CookieManager::updateCookies() – Updates cookie list from HTTP server response
Synopsis
require_once 'HTTP/Client/CookieManager.php';
void HTTP_Client_CookieManager::updateCookies ( object HTTP_Request &$request )
This method gets the cookies from HTTP response received by HTTP_Request instance and adds them to the object's internal list.
Parameter
- object HTTP_Request &$request
-
HTTP_Request object containing the HTTP response, i.e. its sendRequest() should already be called.
Throws
throws no exceptions thrown
See
see passCookies(), addCookie()
Note
This function can not be called statically.
Вернуться к: HTTP_Client