Can I trigger server side events from a local client?

My intent is when a user logs into the service to be able to send localhost events from the native application and read it from JavaScript clients. Should I use JSONP instead of JSON? Since every client's local client is different from our domain?

+2


source to share


1 answer


Yes, if serveride = localhost.

For example, when you run the Google App Engine development server on your machine during development, it actually sends push notifications to you on localhost.



You can also think about this using node.js http://vimeo.com/13043828

+2


source







All Articles