[feat]网络层增加Byte[]和ArraySegment的发送重载,直达底层,这是用户最常用的方法,也是性能最好的路径。
大石头 authored at 2024-11-19 10:06:42
451.00 B
X
using System;

namespace NewLife.Remoting
{
    /// <summary>标识Api</summary>
    [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false)]
    public class ApiAttribute : Attribute
    {
        /// <summary>名称</summary>
        public String Name { get; set; }

        /// <summary>实例化</summary>
        /// <param name="name"></param>
        public ApiAttribute(String name) => Name = name;
    }
}