Свойство | Type | Description | |
---|---|---|---|
$crawler | The DomCrawler instance. |
Méthode | Description | |
---|---|---|
handle ( Illuminate\Http\Request $request, Closure $next ) : mixed | Handle an incoming request. |
Méthode | Description | |
---|---|---|
fetchLinkableNodes ( Illuminate\Http\Response $response ) : |
Get all nodes we are interested in pushing. | |
generateAndAttachLinkHeaders ( Illuminate\Http\Response $response ) | ||
getCrawler ( Illuminate\Http\Response $response ) : |
Get the DomCrawler instance. |
Méthode | Description | |
---|---|---|
addLinkHeader ( Illuminate\Http\Response $response, $link ) | Add Link Header | |
buildLinkHeaderString ( string $url ) : string | Build out header string based on asset extension. |
protected fetchLinkableNodes ( Illuminate\Http\Response $response ) : |
||
$response | Illuminate\Http\Response | |
Résultat |
protected generateAndAttachLinkHeaders ( Illuminate\Http\Response $response ) | ||
$response | Illuminate\Http\Response |
protected getCrawler ( Illuminate\Http\Response $response ) : |
||
$response | Illuminate\Http\Response | |
Résultat |