Skip to content

emitWithAck and timingOutAfter not working. #7

@canpoyrazoglu

Description

@canpoyrazoglu

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions