node-capnp
node-capnp copied to clipboard
connect through TLS with authenticationinfo
I didn't see if it is possible use node-capnp to connect through RPC over TLS. I need to set my authentication info to handshake negotiate, but I'm not getting to do it.
I'm using this .capnp https://github.com/Internet-of-People/mercury-rust/tree/develop/home-protocol/protocol. The server was writing in Rust and I'm trying to create a client in node.
There is some possibility to use this package?
Thanks
Hi Gibran,
Unfortunately this isn't directly supported in the library. For now, what you will need to do is use a loopback connection (e.g. back to the same process), and then arrange to proxy data over a TLS connection from there.