mirror of
https://github.com/streetwriters/notesnook-sync-server.git
synced 2026-10-13 23:30:45 +02:00
api: use wamp services instead of forwarding http requests for internal apis
This commit is contained in:
1 parent
353e866cda
commit
99da765a1c
10 files changed
+230
-233
No files matched your search
@@ -0,0 +1,13 @@
|
||||
using System.Threading.Tasks;
|
||||
using Streetwriters.Common.Helpers;
|
||||
using Streetwriters.Common.Models;
|
||||
using WampSharp.V2.Rpc;
|
||||
|
||||
namespace Streetwriters.Common.Interfaces
|
||||
{
|
||||
public interface IUserSubscriptionService
|
||||
{
|
||||
[WampProcedure("co.streetwriters.subscriptions.subscriptions.get_user_subscription")]
|
||||
Task<Subscription> GetUserSubscriptionAsync(string clientId, string userId);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user