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 817f36e commit 92792baCopy full SHA for 92792ba
README.md
@@ -40,7 +40,7 @@ SocketIOClient* socket = [[SocketIOClient alloc] initWithSocketURL:url config:@{
40
double cur = [[data objectAtIndex:0] floatValue];
41
42
[[socket emitWithAck:@"canUpdate" with:@[@(cur)]] timingOutAfter:0 callback:^(NSArray* data) {
43
- [socket emit:@"update" withItems:@[@{@"amount": @(cur + 2.50)}]];
+ [socket emit:@"update" with:@[@{@"amount": @(cur + 2.50)}]];
44
}];
45
46
[ack with:@[@"Got your currentAmount, ", @"dude"]];
0 commit comments