socket.IO-objc icon indicating copy to clipboard operation
socket.IO-objc copied to clipboard

allow multiple parameters

Open hden opened this issue 11 years ago • 1 comments

Since JS client allows multiple parameters, perhaps we should allow the same behavior in obj-c?


socket.emit('eventName', 'foo', 'bar', {baz: 'nyan'});

hden avatar Apr 18 '14 05:04 hden

It actually allows it but it was sending all parameters as one object. Here there's a more elegant solution: https://github.com/pkyeck/socket.IO-objc/pull/208

aldevet avatar Apr 18 '15 18:04 aldevet