Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- onConnection(f) {
- // listen for connection using library, then call f(connectionObj)
- }
- send(connectionObj, message) {
- // send a string message to the connection object
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement