webman如何通过url获取文件流直接转发给客户端?

问题描述 根据url直接获取文件流发送给客户端,服务器本地不做存储,当前参考文档 https://www.workerman.net/doc/workerman/components/workerman-http-client.html 写的代码文件时下载下来了但是报文件是损坏的打不开,一下是具体代码 public function download(Request $request): \support\Respo...

RainLee1990 发表与 1天前 54 浏览 0 回答

RainLee1990

100
积分
0
获赞数
0
粉丝数
1天前 加入
×
🔝