Open tmc opened 3 years ago
I made demo implementations using gorilla/websocket
and gobwas/ws
and put them in this gist: https://gist.github.com/zeebo/ae635824205088a51031c09cb07ea553
The gobwas/ws
code is both a client and a server, and the gorilla/websocket
code is just server (but should be able to extend to clients in the same way).
Hopefully they can be used as a starting point for someone (or myself) to pick up. :smile:
https://pkg.go.dev/go.bryk.io/pkg/net/drpc/ws is an external websocket based transport to look at as well.
https://github.com/lightninglabs/falafel is able to use WASM, and InProcess and traditional GRPC
InProcess support: https://github.com/lightninglabs/falafel#description WASM support : https://github.com/lightninglabs/falafel#generating-jsonwasm-stubs
Is it in the cards to have a web socket-based transport for use with WASM projects?