文章分类 -  WebSocket

摘要:NetCore启动项配置 1 using Service.Hubs; 2 3 var builder = WebApplication.CreateBuilder(args); 4 5 // Add services to the container. 6 7 builder.Services.Ad 阅读全文
posted @ 2023-07-26 17:07 Fast & Furious 阅读(236) 评论(0) 推荐(0) 编辑
摘要:Socket服务类代码 1 public class SocketSendHelper 2 { 4 //实例 5 private static SocketSendHelper _ins; 6 public static SocketSendHelper Ins => _ins ?? (_ins = 阅读全文
posted @ 2023-04-13 14:32 Fast & Furious 阅读(350) 评论(0) 推荐(0) 编辑
摘要:socket客户端接收帮助类代码,此代码仅为测试使用,代码格式并未 1 public class SocketReceiveHelper 2 { 3 //初始化 4 private static SocketReceiveHelper _ins; 5 public static SocketRece 阅读全文
posted @ 2023-04-13 11:52 Fast & Furious 阅读(831) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示