Skip to content

Commit d4470a9

Browse files
committed
fix readme
1 parent affd792 commit d4470a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ SocketIOClient* socket = [[SocketIOClient alloc] initWithSocketURL:@"localhost:8
3030
[socket on: @"connect" callback: ^(NSArray* data, void (^ack)(NSArray*)) {
3131
NSLog(@"connected");
3232
[socket emitObjc:@"echo" withItems:@[@"echo test"]];
33-
[socket emitWithAckObjc:@"connect" withItems:@[@1]](10, ^(NSArray* data) {
33+
[socket emitWithAckObjc:@"ackack" withItems:@[@1]](10, ^(NSArray* data) {
3434
NSLog(@"Got ack");
3535
});
3636
}];

0 commit comments

Comments
 (0)