Are there any examples of the WebSocket service from compat/http.h that is 
a self contained starting point?  I am trying to get my head around how to 
layer these components into a larger service.   Basically I want to use rpc 
over a websocket from the browser(via wasm)  to a c++ service running a 
TwoPartyVatNetwork.  My current working implementation uses capnp 
serialized structs in an async service(but not interfaces/rpc), from wasm 
(compiled from c++) to a c++ asio websocket server.  I separately brought 
the ezrpc service up and extended the calc example, but now I want to 
finish out the conversion and prototype how to replace my asio server. 

Any pointers on where to look for more TwoPartyVatNetwork implementations 
and/or docs would be great. Especially on how to save some state like a jwt 
token ( via an auth capability?) in the open websocket, or if there is an 
example somewhere of TwoPartyVatNetwork over websockets.

Thanks in advance.

Asa

-- 
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