adamhartford / SwiftR

Swift client for SignalR (iOS and Mac)
MIT License
174 stars 74 forks source link

fake Connected problem. #80

Open g001613001 opened 7 years ago

g001613001 commented 7 years ago

Hi, I found a problem. when I connected, then I turn off the network. then SwiftR will use connection?.start(), but this time the network still turn off. but SwiftR will into connection.connected, and then into connection.error.

Normally, when network off , use connection?.start() , will direct into connection.error, when network on , then into connection.connected, right?

is this is a bug?