SHARE
TWEET

Untitled

a guest Jul 12th, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // chat-server.ts
  2.  
  3. socket.on('make-offer', function (data) {
  4.   socket.to(data.to).emit('offer-made', {
  5.     offer: data.offer,
  6.     socket: socket.id
  7.   });
  8. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top