Quoting 'Kenton Varda' via Cap'n Proto (2018-09-21 15:36:25)

>    The canonical Cap'n Proto RPC protocol is not HTTP-based -- Cap'n Proto
>    messages are written directly to the socket. So, there's no way to add
>    a /healthz endpoint to the same port as RPC.

My take on how to do this: in your HTTP server, accept websocket
connections and use the URL/other information from the request to decide
what to supply as the capnproto bootstrap interface.

You mentioned wanting to be able to save state. I suggest having a look
at persistent.capnp.

-- 
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].
Visit this group at https://groups.google.com/group/capnproto.

Reply via email to