Beispiel #1
0
        public virtual void Publish(string webhookName, object data, bool sendExactSameData = false, WebhookHeader headers = null)
        {
            var subscriptions =
                _webhookSubscriptionManager.GetAllSubscriptionsIfFeaturesGranted(AbpSession.TenantId, webhookName);

            Publish(webhookName, data, subscriptions, sendExactSameData, headers);
        }
        public void Publish(string webhookName, object data)
        {
            var subscriptions = _webhookSubscriptionManager.GetAllSubscriptionsIfFeaturesGranted(AbpSession.TenantId, webhookName);

            Publish(AbpSession.TenantId, webhookName, data, subscriptions);
        }
Beispiel #3
0
        public void Publish(string webhookName, object data, bool sendExactSameData = false)
        {
            var subscriptions = _webhookSubscriptionManager.GetAllSubscriptionsIfFeaturesGranted(AbpSession.TenantId, webhookName);

            Publish(AbpSession.TenantId, webhookName, data, subscriptions, sendExactSameData);
        }