public void Unsubscribe(IWampClient client, string topicUri) { string resolvedTopicUri = ResolveUri(client, topicUri); WampCraAuthenticator <TMessage> wampAuth = GetOrCreateWampAuthenticatorForClient(client); if (wampAuth.IsAuthenticated) { WampPubSubPermissions pubSubPerm = wampAuth.CraPermissionsMapper.LookupPubSubPermissions(resolvedTopicUri); if (pubSubPerm != null && pubSubPerm.sub) { mPubSubServer.Unsubscribe(client, resolvedTopicUri); } } }
public void Unsubscribe(IWampClient client, string topicUri) { mPubSubServer.Unsubscribe(client, topicUri); }