Requests_Cookie::parse_from_headers( Requests_Response_Headers $headers, Requests_IRI|null $origin = null, int|null $time = null ): array

In this article

Parse all Set-Cookie headers from request headers

Parameters

$headersRequests_Response_Headersrequired
Headers to parse from
$originRequests_IRI|nulloptional
URI for comparing cookie origins

Default:null

$timeint|nulloptional
Reference time for expiration calculation

Default:null

Return

array

Source

User Contributed Notes

You must log in before being able to contribute a note or feedback.