PHP 클래스 TomSchlick\ServerPush\HttpPush

파일 보기 프로젝트 열기: tomschlick/laravel-http2-server-push

공개 프로퍼티들

프로퍼티 타입 설명
$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