PHP - Manual: Yaf_Response_Abstract::response
2024-12-22
(Yaf >=1.0.0)
Yaf_Response_Abstract::response — send response
send response
此函数没有参数。
示例 #1 Yaf_Response_Abstract::response()example
<?php
$response = new Yaf_Response_Http();
$response->setBody("Hello")->setBody(" World", "footer");
$response->response();
?>
以上例程的输出类似于:
Hello World
官方地址:https://www.php.net/manual/en/yaf-response-abstract.response.php