Skip to content

RpcServer Response handling  #39

@ZhaoVitapublic

Description

@ZhaoVitapublic

Hi,
thanks for provider this great module. We have implemented several rpc-server and consumer project with this module.
Recently, I got a situation, where i need to modify the success flag and message of response by a rpc-server, but not throw an exception within customized CallBack class. In my callback locate an input filter with validators. If the validation process failed, I want return an array of error messages and give an unsuccess flag to the rpc-client.
Can you make a feature, that in callback we not only affacts the result, but also the success flag?
Or do you have some idea, that I can do it better in the case above?
Thanks in advance

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions