Skip to content
Discussion options

You must be logged in to vote

Hi Kamyar,

So you've essentially implemented a new "redis" protocol, alongside the ice and icerpc protocols that IceRPC provides. I didn't anticipate replacing the protocol would be a common use-case.

Is there a way to do it?

Yes, you can easily create an OutgoingResponse from a DispatchException. That's what IceRpcProtocolConnection does here:

response = dispatchException.ToOutgoingResponse(request);

ToOutgoingResponse is an internal extension method:

Maybe you could open a PR to conve…

Replies: 0 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@kamyar1979
Comment options

Answer selected by kamyar1979
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants