Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In TLS build of library, support both TLS and non-TLS connections.
The choice is made at runtime, if a TLS URI (https:// or wss://) is given, the TLS client will be used, otherwise the non-TLS client will be used. Additionally, a new constructor is introduced allowing the URI to be passed at construction, which allows the above selection to occur, otherwise only the default for the library (TLS or non-TLS) will be used (preserving the original behavior).
- Loading branch information