Esempio n. 1
0
        public IRtmClient Register(string endpoint, string appKey)
        {
            var client = new RtmClientBuilder(endpoint, appKey)
                         .SetDispatcher(dispatcher)
                         .Build();

            return(Register(client));
        }
Esempio n. 2
0
        public IRtmClient Register(string endpoint, string appKey, string role, string roleSecret)
        {
            var client = new RtmClientBuilder(endpoint, appKey)
                         .SetRoleSecretAuthenticator(role, roleSecret)
                         .SetDispatcher(dispatcher)
                         .Build();

            return(Register(client));
        }