Http\Response->end
最后更新于:2022-04-02 06:33:43
# Http\\Response->end
发送`Http`响应体,并结束请求处理。
~~~
function Http\Response->end(string $html);
~~~
* `end`操作后将向客户端浏览器发送`HTML`内容
* `end`只能调用一次,如果需要分多次向客户端发送数据,请使用`write`方法
* 客户端开启了`KeepAlive`,连接将会保持,服务器会等待下一次请求
* 客户端未开启`KeepAlive`,服务器将会切断连接
';