AsyncTcpConnection类如何设置代理IP

问题描述 这里写问题具体描述...

zhqing 发表与 2023-05-24 562 浏览 1 回答
onConnect怎样获取浏览器信息

没有HTTP_USER_AGENT浏览器信息 怎样获得? $worker->onConnect = function (TcpConnection $connection) { $connection->send(obCache(function ()use($connection){ ps($_SERVER);// })); };...

zhqing 发表与 2022-03-03 972 浏览 3 回答
php://input 问题

php://input $GLOBALS['HTTP_RAW_POST_DATA'] 用于HTTP协议下的应用获取POST的原始数据 4的板本中$GLOBALS[‘HTTP_RAW_POST_DATA’]无法数据,是否有新的方法?...

zhqing 发表与 2020-03-22 2228 浏览 1 回答
workerman4.x withFile发送文件流问题

$response = (new Response())->withFile($file); $response->withHeaders([ 'Connection' => 'keep-alive', 'Content-Type' => 'audio/mpeg', 'Accept-Ranges' => '0-8888322', 'Last-Modified' => 'Thu, 1...

zhqing 发表与 2020-03-20 2373 浏览 3 回答
内存中对像问题

public static function onWorkerStart($businessWorker)     {         global $db;           require_once __DIR__ . '/demo.php';         $db = new demo();     }       /**      * 当客户端发来消息时触发      * @param int $cli...

zhqing 发表与 2019-01-21 1832 浏览 1 回答

zhqing

-26
积分
0
获赞数
0
粉丝数
2018-12-29 加入
🔝