Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
Resources
Response
PHP Class Resources\Response
显示文件
Open project: panada/panada
Public Properties
Property
Type
Description
$body
$headers
$statusCode
Public Methods
Method
Description
send
( )
sendBody
( )
sendHeader
( )
sendHeaders
( )
setBody
(
$body
)
setHeader
(
$key
,
$value
,
$statusCode
= 200 )
setStatusCode
(
$statusCode
)
Method Details
send()
public
method
public
send
( )
sendBody()
public
method
public
sendBody
( )
sendHeader()
public
static
method
public
static
sendHeader
( )
sendHeaders()
public
method
public
sendHeaders
( )
setBody()
public
method
public
setBody
(
$body
)
setHeader()
public
static
method
public
static
setHeader
(
$key
,
$value
,
$statusCode
= 200 )
setStatusCode()
public
method
public
setStatusCode
(
$statusCode
)
Property Details
$body
public_oe static_oe property
public
static
$body
$headers
public_oe static_oe property
public
static
$headers
$statusCode
public_oe static_oe property
public
static
$statusCode