如何让workerman以客户端的形式,来连接已http协议的服务器?

如何让workerman以客户端的形式,来连接以 http协议 的服务器? 我看到了一个 AsyncTcpConnection 类,但是这个类是TCP协议的 不一样,我现在需要的是http协议的 有没有办法。。。 谢谢walkor ...

627894178 发表与 2016-04-23 2785 浏览 1 回答
我在写直播室的时候遇到 Failed to execute 'send' on 'WebSocket': Still in CONNECTING state.

我用测试demo跑的时候有时候也会出现 Failed to execute 'send' on 'WebSocket': Still in CONNECTING state. [attach]278[/attach] 我网上也百度过,但是感觉无解。 @walkor 遇到这种问题,怎么办?...

627894178 发表与 2016-04-22 11657 浏览 1 回答
关于 聊天室的Event的两个函数问题('sendToCurrentClient'与'sendToGroup'的 区别)?

最新的2.0文档里更新了Event.php,发现里面有各一个地方我不是很理解 // 转播给当前房间的所有客户端,xx进入聊天室 message {type:login, client_id:xx, name:xx} $new_message = array('type'=>$message_data, 'client_id'=>$client_id, 'client_name'=>htmlspec...

627894178 发表与 2016-01-07 5580 浏览 1 回答

627894178

1970
积分
0
获赞数
0
粉丝数
2016-01-07 加入
🔝