如何在 Google 端点响应中发送自定义 header
How to send custom header in Google endpoints response
我正在使用 google 端点框架,但我需要在响应中向请求者发送自定义 header。
但是,在 google 端点中,所有响应都作为消息 class 的 object 返回,因此无法找到设置我的 header回复请求者。
请帮助我使用任何可以将我的 header 添加到响应中的方法
我正在使用 google 端点框架,但我需要在响应中向请求者发送自定义 header。
但是,在 google 端点中,所有响应都作为消息 class 的 object 返回,因此无法找到设置我的 header回复请求者。
请帮助我使用任何可以将我的 header 添加到响应中的方法