On Friday, March 26, 2021 at 12:38:43 AM UTC+8 [email protected] wrote:

>
> Similarly I saw a few mentions of HTTP and websocket stuff, but is there 
> actually a way to use Capnproto over a websocket?
>

This might not be what you're looking for, but I took the fasterthanlime 
fork of capnp-ts and upgraded all of the dependencies, and in my test 
application I was able to use a go capnp server with a Typescript capnp 
client over web sockets. Relevant links:

   - my updated fork of capnp-ts <https://github.com/CGamesPlay/capnp-ts>
   - glue between capnp-ts and web sockets 
   <https://gist.github.com/CGamesPlay/62e2e06d12f5713179b54af2e03a32b3>
   - the original work on capnp-ts RPC 
   <https://github.com/fasterthanlime/capnp-ts/tree/rpc> (to whom the 
   credit is owed)
   

-- 
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/a07e6269-ebd4-485c-8b18-a12187a8dc37n%40googlegroups.com.

Reply via email to