Toggle navigation
Hot Examples
PT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Pesquisar
Página Inicial
Aerys
Response
push
Aerys\Response::push PHP Method
Response Interface Documentation
Exibir arquivo
Open project: amphp/aerys
push()
public
method
Indicate resources which a client likely needs to fetch. (e.g. Link: preload or HTTP/2 Server Push)
public
push
(
string
$url
,
array
$headers
= null ) :
aerys\Response
$url
string
The URL this request should be dispatched to
$headers
array
Optional custom headers, else the server will try to reuse headers from the last request
return
aerys\Response
public function push(string $url, array $headers = null) : Response;
Response
addHeader
end
flush
push
setCookie
setHeader
setReason
setStatus
state
stream