Created
April 23, 2012 21:45
-
-
Save lightsofapollo/2474079 to your computer and use it in GitHub Desktop.
Marionette backend api
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
backend.send({ | |
type: 'newSession', | |
to: 'connection1' | |
}, function(err, data){ | |
//err for connection issues not errors sent by the server | |
//data is the json response. | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment