如果我有Endpoints方法:
@endpoints.method(ProfileMiniForm, ProfileForm,
path='profile', http_method='POST', name='saveProfile')
def saveProfile(self, request):
"""Update & return user profile."""
return self._doProfile(request)
在saveProfile函数中,当它接收请求时,是否接收ProfileMiniform的实例
是的,我假设它基于您编写的
protorpc
消息类因此,让我们在这里尝试一个示例:
如果这些是您的输入和输出消息类,您将访问来自以下请求的
message
数据成员:相关问题 更多 >
编程相关推荐