Added WebSocket.ConnectTimeout
I also really need this. Could you please merge?
With your modifications in websocket-sharp/HttpBase.cs, timeout is never assigned to and will always have its initial value false. You could remove the variable and the conditional that checks the variable.
ws.Connect() are waiting forever, can you please merge this? @sta
@sta +1 for this merge please. I have a check looking for an active USB or WebSocket connection, and it's painful to have to wait around for .Connect() or .ConnectAsync() to timeout before I get a "Closed" response. I want to be able to set .Connect() to only try for like 3 seconds then move on to check my next available connection, or loop back around.
I also need this feature. I am working with a state machine. @sta +1.
+1 I'd really appreciate this feature
@sta is there any particular reason for this not to be merged? (Apart from the fact that this is now 6 years old)