fun setConnectionStrategy(strategy: IConnectionStrategy): Task<Unit>
sets a given connection strategy. Please be aware this is an async method and will only update after completion.