Wednesday, 4 July 2018

Error in connecting node.js REST api to android

I am having some issues with my code of node.js . I am trying to build a RESTful api for my webapp and android app. The issue is when i am using socket.to( 'some_username' ).emit( 'some object' )the webapp is working fine but android app is not able to listen to this particular event. However when i remove the to() from my statement it works correctly. Can you suggest something.?Thanks in advance

Submitted July 04, 2018 at 10:30AM by sardar1831

No comments:

Post a Comment