简体   繁体   中英

How to require socketstream in client side

I'm using node.js with socketstream while calling server side function.I'm getting 'ss is not defined error'.Can i require that socketstream.how can i require the socketstream.

      ss.rpc('User.saveUserInfo',name,pwd,function(res){

      alert(res);

         });

解决此问题的方法是html标签的头部分中未包含html标签。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM