using Admin.Core.Socket.Plugins; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TouchSocket.Sockets; namespace Admin.Core.Socket.TSocket { internal class MyFixedHeaderCustomDataHandlingAdapter : CustomFixedHeaderDataHandlingAdapter { public override int HeaderLength => 10; protected override MyFixedHeaderRequestInfo GetInstance() { try { return new MyFixedHeaderRequestInfo(); } catch (Exception ex) { return new MyFixedHeaderRequestInfo(); } } } }