xiaoyuxee commented on issue #2113:
URL: https://github.com/apache/brpc/issues/2113#issuecomment-1423574014

   > > @982945902 请问找到填充 matadata 的办法了吗
   > 
   > client: cntl.http_request().SetHeader("test","111")
   > 
   > server: brpc::Controller *cntl = static_cast<brpc::Controller 
*>(controller); auto ptest = cntl->http_request().GetHeader("test")
   
   嗯,我刚刚也这么测试work 了。因为 grpc 协议中 metadata 是解析于 http 中 header。


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to