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

            return(Register(client));
        }
Example #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));
        }