Advertisement
Guest User

Untitled

a guest
Aug 25th, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. onConnection(f) {
  2. // listen for connection using library, then call f(connectionObj)
  3. }
  4. send(connectionObj, message) {
  5. // send a string message to the connection object
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement