From 83cb71296161bb7959fce5ef5d09db1638c1e021 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Wed, 7 Apr 2021 11:32:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Annotation/Route/RpcProducer.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Annotation/Route/RpcProducer.php b/Annotation/Route/RpcProducer.php index 9841fba7..571da808 100644 --- a/Annotation/Route/RpcProducer.php +++ b/Annotation/Route/RpcProducer.php @@ -22,6 +22,9 @@ use Snowflake\Snowflake; private string $uri = ''; + const PROTOCOL_JSON = 'json'; + const PROTOCOL_SERIALIZE = 'serialize'; + /** * Route constructor.