Implemented ack callbacks

This commit is contained in:
Sean Arietta 2014-12-22 18:39:58 -08:00
commit 5c1d38ac86
3 changed files with 66 additions and 25 deletions

View file

@ -444,7 +444,7 @@ class SocketIO(object):
_log.debug("[event] %s (%s)" % (repr(event), repr(args)));
if packet.payload.id is not None:
args.append(self._prepare_to_send_ack(path, packet_id))
args.append(self._prepare_to_send_ack(packet.payload.path, packet.payload.id))
find_event_callback(event)(*args);
def _on_ack(self, packet, find_event_callback):