public IRtmClient Register(string endpoint, string appKey) { var client = new RtmClientBuilder(endpoint, appKey) .SetDispatcher(dispatcher) .Build(); return(Register(client)); }
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)); }