My html code
var url='ws://localhost:8000/abc'; socket=new WebSocket(url); socket.onopen=function(){ log('Success'); }
in php or node.js how to get url path abc?
收起
当前问题酬金
¥ 0 (可追加 ¥500)
支付方式
扫码支付
支付金额 15 元
提供问题酬金的用户不参与问题酬金结算和分配
支付即为同意 《付费问题酬金结算规则》
There isn't a native way to work with websockets in PHP or Node. You'll need to use a library of some sort. Fortunately, there are plenty to choose from:
报告相同问题?