Files
SPT-Server-Build/Core/Callbacks/NotifierCallbacks.cs
T
2025-01-07 12:51:59 +00:00

45 lines
1.4 KiB
C#

using Core.Models.Eft.Common;
using Core.Models.Eft.Common.Request;
using Core.Models.Eft.HttpResponse;
using Core.Models.Eft.Notifier;
namespace Core.Callbacks;
public class NotifierCallbacks
{
public NotifierCallbacks()
{
}
/**
* If we don't have anything to send, it's ok to not send anything back
* because notification requests can be long-polling. In fact, we SHOULD wait
* until we actually have something to send because otherwise we'd spam the client
* and the client would abort the connection due to spam.
*/
public void SendNotification(string sessionID, object req, object resp, object data) // TODO: no types were given
{
throw new NotImplementedException();
}
public GetBodyResponseData<List<object>> GetNotifier(string url, object info, string sessionID) // TODO: no types were given
{
throw new NotImplementedException();
}
public GetBodyResponseData<NotifierChannel> CreateNotifierChannel(string url, EmptyRequestData info, string sessionID)
{
throw new NotImplementedException();
}
public GetBodyResponseData<SelectProfileResponse> SelectProfile(string url, UIDRequestData info, string sessionID)
{
throw new NotImplementedException();
}
public string Notify(string url, object info, string sessionID) // TODO: no types were given
{
throw new NotImplementedException();
}
}