Beispiel #1
0
        internal AblyHttpClient GetHttpClient(string environment = null)
        {
            var ablyHttpOptions = new AblyHttpOptions {
                IsSecure = Tls
            };

            ablyHttpOptions.Host = CreateDefaultOptions(environment).FullRestHost();
            return(new AblyHttpClient(ablyHttpOptions));
        }
Beispiel #2
0
        internal AblyHttpClient GetHttpClient()
        {
            var ablyHttpOptions = new AblyHttpOptions()
            {
                IsSecure = Tls
            };

            ablyHttpOptions.Host = CreateDefaultOptions().FullRestHost();
            return(new AblyHttpClient(ablyHttpOptions));
        }