<?php
/**
 * Created by PhpStorm.
 * User: jiuli
 * Date: 2018/3/25
 * Time: 下午6:16
 */

namespace Mainto\RpcServer\RpcAnnotations;

use Doctrine\Common\Annotations\Annotation\Attribute;
use Doctrine\Common\Annotations\Annotation\Attributes;

/**
 * Class RpcHeader
 * @package Mainto\RpcServer\RpcAnnotations
 *
 * @Annotation
 * @Target({"METHOD"})
 *
 * @Attributes({
 *     @Attribute("name", type = "string"),
 * })
 */
class RpcHeader {
    /**
     * 请求Header名称
     *
     * @Required
     * @var string
     */
    public string $name;
}