I'm trying to setup a gRPC client which requires a security certificate and a server override. The information I've found isn't lining up with the version of gRPC I's using. (grpc-swift-2 2.4.1, grpc-swift-nio-transport 2.7.0). So I'm wondering if anyone has experience with this.
This is how I'm setting up my transport. My understanding is the cert and server override are assigned as part of the .tls value? I found examples for doing that, but they don't line up with what is actually available with .tls. I'm assuming I'm looking at out of date information, but haven't found the correct information.
let transport = try HTTP2ClientTransport.Posix(
target: .dns(host: targetHost, port: 50051),
transportSecurity: .tls
)