简体   繁体   中英

How to send custom header in Google endpoints response

I am using google endpoints frameworks but there is one requirement for me to send custom header to requester in the response.

But, in google endpoints all responses are returned as an object of Message class therefore was not able to find anyway to set my headers in the response to the requester.

Please help me with any such approach in which i can add my headers to the response

通过谷歌搜索发现了这一点: 如何将自定义响应标题添加到Google Cloud端点

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM