Co-authored-by: 文徐 <wangwenxue.wwx@alibaba-inc.com>
This commit is contained in:
wenxuwan 2021-06-01 14:11:55 -05:00 committed by GitHub
parent b6ac9208a7
commit ff2b836a2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ func (c *GRPCClient) InvokeMethod(ctx context.Context, appID, methodName, verb s
return c.invokeServiceWithRequest(ctx, req)
}
// InvokeMethodWithContent invokes service without content (data + content type).
// InvokeMethodWithContent invokes service with content (data + content type).
func (c *GRPCClient) InvokeMethodWithContent(ctx context.Context, appID, methodName, verb string, content *DataContent) (out []byte, err error) {
if err := hasRequiredInvokeArgs(appID, methodName, verb); err != nil {
return nil, errors.Wrap(err, "missing required parameter")