Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

add reconnect require delegate #144

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

add reconnect require delegate #144

wants to merge 1 commit into from

Conversation

leoru
Copy link

@leoru leoru commented Jan 8, 2014

Hi! I added new delegate method socketIORequireReconnect: which allows hadle reconnect event and manually make reconnect to socket.

@pkyeck pkyeck added this to the 0.5.1 milestone Feb 22, 2014
@pkyeck pkyeck self-assigned this Feb 22, 2014
@isayeter
Copy link

isayeter commented May 2, 2014

thank you, great work, but you forgot to say:

in delegate class add this:

-(void)socketIORequireReconnect:(SocketIO*)ula
{
[ula connectToHost:@"host" onPort:@"port"];
NSLog(@"connection is in disconnected status, trying to reconnect.");
}

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

Successfully merging this pull request may close these issues.

3 participants