Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

emitWithAck and timingOutAfter not working. #7

Open
canpoyrazoglu opened this issue May 11, 2018 · 0 comments
Open

emitWithAck and timingOutAfter not working. #7

canpoyrazoglu opened this issue May 11, 2018 · 0 comments

Comments

@canpoyrazoglu
Copy link

I can emit a message with args and it just sends fine:

[client emit:@"message" items:@[data]];

However, I need the ACK payload too, so I use:

[[client emit:@"message" items:@[data]] timingOutAfter:5 callback:^(NSArray *array) {
    //process response
}];

Though, neither my message is sent to the server, nor I receive a response/ACK.

What am I doing wrong? (my server is on socket.io 2.0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant