Question Checklist
Question Description
I am trying to use new nio branch of grpc-swift repo for communicating with LND and have encountered several issues:
-
I could not find a way to set TLS certificate from a string (not from file). Apple Nio SSL has NIOSSLCertificate class, but is is able to init with file path and byte array only. In old implementation of grpc-swift we could init client with certificates string argument.
-
In old implementation of grpc-swift I could also set Metadata to connection. I need it to set macaroons headers for authentication. In new nio branch I could not find a way to set metadata.
It would be great if you could provide some examples for setting options described above.