12 Commits

Author SHA1 Message Date
Mark Vayngrib
b455a8eb63 support options object in constructor, onmessage parameter to constructor 2015-06-01 11:16:07 -04:00
Mark Vayngrib
7a15a31595 add socket.type 2015-06-01 11:05:19 -04:00
Mark Vayngrib
fc78253ef2 conditional debugging 2015-05-18 10:37:05 -04:00
Mark Vayngrib
6827e29118 use node-compatible event emitter 2015-05-17 16:55:38 -04:00
Mark Vayngrib
6f328cca63 fix logging 2015-05-16 13:52:06 -04:00
Mark Vayngrib
fa2453b4b4 return binary buffer 2015-05-16 13:06:21 -04:00
Mark Vayngrib
7105b5f14d bind on send if not bound 2015-05-16 11:45:26 -04:00
Mark Vayngrib
516530edbd fix data transfer over RCTBridge, for now use base64 strings until they support binary data transfer 2015-05-16 11:45:11 -04:00
Mark Vayngrib
22c41fcc93 fix typo 2015-05-15 17:52:43 -04:00
Mark Vayngrib
cacff29bab refactor to use regular es5 js, no need to make socket a component 2015-05-11 11:24:17 -04:00
Mark Vayngrib
9732f320a4 declare _state, _address, _port 2015-05-10 10:49:21 -04:00
Mark Vayngrib
798c1d5a2c refactor into lib 2015-05-10 10:26:29 -04:00