服务端的TigerApi 框架,基于.NET6 2024 版本
Rodney Chen
2025-04-02 eb29ee75c7f2f4154b7a3d0c475f94e0b964e996
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
using Autofac;
using Rhea.Common;
using Rhea.Common.Interface;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
 
namespace Tiger.IBusiness
{
    public interface IClientMonitor : ITigerMonitor
    {
        /// <summary>
        /// 客户端心跳上送
        /// </summary>
        /// <param name="client"></param>
        /// <param name="clientIP"></param>
        /// <returns></returns>
        public Task<ApiAction> Heartbeat(Client client, string clientIP);
    }
}