Hi Mostafa, Nope, we don't have that yet. We have JsonCodec to translate JSON to Cap'n Proto, but no one has put it together into an HTTP service just yet.
It's more complicated for Cap'n Proto compared to gRPC because of capabilities and promise pipelining. There isn't an obvious way to expose those over HTTP. We could make a version that just doesn't support them but that risks encouraging people to design interfaces without using these important tools. For debugging, another thing I'd like to do someday is have the `capnp` tool itself support a REPL and scripting mode for sending RPCs to remote servers... but, that's a big project. -Kenton On Sat, Aug 22, 2020 at 7:21 AM [email protected] < [email protected]> wrote: > I am wondering if there is any plugin for capnp similar to gRPC-Gateway > <https://github.com/grpc-ecosystem/grpc-gateway> which translates a > RESTful HTTP API into gRPC. This is a very useful tools specially for > debugging purpose. > > > -- > You received this message because you are subscribed to the Google Groups > "Cap'n Proto" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/capnproto/94c6552c-2865-4d16-9bb5-58cba0f4404dn%40googlegroups.com > <https://groups.google.com/d/msgid/capnproto/94c6552c-2865-4d16-9bb5-58cba0f4404dn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Cap'n Proto" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/capnproto/CAJouXQm_z0DVyhKTCM_RbOfnLeTwYmKK-QCwZY-KNTftH_bmVg%40mail.gmail.com.
