Replace method dynamically rather than doing a taken-once "if".
Also, factorise code to be executed when connection is established.
Showing
Please register or sign in to comment
Also, factorise code to be executed when connection is established.