[TYRUS-243] WebSocketContainer.connectToServer can block for seconds Created: 26/Aug/13 Updated: 05/Sep/13 Resolved: 03/Sep/13
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
I am using Tyrus Client to connect to a chess server via WebSocket protocol. There is a input field that allows the user to specify the URL and button "Connect" that tries to open the connection. Alas, if the URL is mistyped, it takes seconds for the method connectToServer to return. For the whole time the UI is blocked.
A really non-blocking "connect" method would be nice.
|Comment by Pavel Bucek [ 03/Sep/13 ]|
fix merged to the master branch (see rev. 90edb2a6378ef92c4ffc3af231a5962ef3712cb3)
ClientManager now has async* alternatives to connectToServer methods. More details will follow in the user doc and/or blog post.
|Comment by jst [ 05/Sep/13 ]|
OK, let me know when you document/blog about it.