Method: PHPCrawler::setTrafficLimit()



Sets a limit to the number of bytes the crawler should receive alltogether during crawling-process.
Signature:

public setTrafficLimit($bytes, $complete_requested_files = true)

Parameters:

$bytes int Maximum number of bytes
$complete_requested_files bool This parameter has no function anymore!

Returns:

bool 

Description:

If the limit is reached, the crawler stops the crawling-process.
The default-value is 0 (no limit).