PHP Класс TomSchlick\ServerPush\HttpPush

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$resources array

Открытые методы

Метод Описание
clear ( ) Clear all resources out of the queue.
generateLinks ( ) : array Generate the server push link strings.
getTypeByExtension ( string $resourcePath ) : string
hasLinks ( ) : boolean
queueResource ( string $resourcePath, string $type = null ) Push a resource onto the queue for the middleware.

Описание методов

clear() публичный Метод

Clear all resources out of the queue.
public clear ( )

getTypeByExtension() публичный статический Метод

public static getTypeByExtension ( string $resourcePath ) : string
$resourcePath string
Результат string

queueResource() публичный Метод

Push a resource onto the queue for the middleware.
public queueResource ( string $resourcePath, string $type = null )
$resourcePath string
$type string

Описание свойств

$resources публичное свойство

public array $resources
Результат array