alexliesenfeld / httpmock

HTTP mocking library for Rust.
MIT License
435 stars 40 forks source link

GRPC support #61

Closed marlon-sousa closed 2 years ago

marlon-sousa commented 2 years ago

Hello,

Is there a reliable way of using this to test GRPC calls?

Perhaps by providing a layer to parse a proto and translate first messages to json, use the current implementation and translate back the response?

Trying to understand if this could be realistically implemented in a easy form.

Thanks, Marlon

alexliesenfeld commented 2 years ago

Thanks for your suggestion. I would assume that this would require substantial changes to the library. However, considering that this library already tries to cover a lot of functionality, adding gRPC would yet add much more new functionality.