Method: PHPCrawlerCookieDescriptor::getFromHeaderLine()


Returns a PHPCrawlerCookieDescriptor-object initiated by the given cookie-header-line.
Signature:

public static getFromHeaderLine($header_line, $source_url)

Parameters:

$header_line string The line from an header defining the cookie, e.g. "VISITOR=4c63394c2d82e31552001a58; expires="Sat, 08-Aug-2020 23:59:08 GMT"; Path=/"
$source_url string URL the cookie was send from.

Returns:

PHPCrawlerCookieDescriptor  The appropriate PHPCrawlerCookieDescriptor-object.

Description:

-