We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 709ecc3 commit f54153fCopy full SHA for f54153f
README.md
@@ -35,7 +35,7 @@ SocketIOClient* socket = [[SocketIOClient alloc] initWithSocketURL:@"localhost:8
35
double cur = [[data objectAtIndex:0] floatValue];
36
37
[socket emitWithAck:@"canUpdate" withItems:@[@(cur)]](0, ^(NSArray* data) {
38
- [socket emit:@"update" withItems:@[@(cur + 2.50)]];
+ [socket emit:@"update" withItems:@[@{@"amount": @(cur + 2.50)}]];
39
});
40
41
ack(@[@"Got your currentAmount, ", @"dude"]);
0 commit comments