Skip to content

Instantly share code, notes, and snippets.

@BlackMac
Last active December 3, 2015 19:29
Show Gist options
  • Save BlackMac/feedb2ba8764c3f2f389 to your computer and use it in GitHub Desktop.
Save BlackMac/feedb2ba8764c3f2f389 to your computer and use it in GitHub Desktop.
fastest way to include sipgate in Web projects
<script charset="utf-8" src="https://cdn.socket.io/socket.io-1.3.7.js" />
<script charset="utf-8" src="https://sipgatesocket.herokuapp.com/sipgateio.min.js" />
<script charset="utf-8">
var test = new SipgateIO("ENTER UUID HERE", {
all: function(data) {
console.log(data);
}
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment