Skip to content

Automatically reconnected after disconnect #1136

Open
@fanglinwei

Description

@fanglinwei

I executed code client.disconnect()

It is connected again right away

And immediately received a callback for successful connections

And I printed the client.status isconnected

client.on(clientEvent: .connect) { [weak self] data, ack in
            guard let self = self else { return }
            print(self.client.status.rawValue)  // The result is 3
        }

Socket.IO-Client-Swift version is 13.4.0

iOS version is 12.1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions