diff --git a/Sources/GRPC/GRPCChannel/GRPCChannelBuilder.swift b/Sources/GRPC/GRPCChannel/GRPCChannelBuilder.swift index 33f076ca0..865e8df3c 100644 --- a/Sources/GRPC/GRPCChannel/GRPCChannelBuilder.swift +++ b/Sources/GRPC/GRPCChannel/GRPCChannelBuilder.swift @@ -150,6 +150,11 @@ extension ClientConnection.Builder { self.tls = tlsConfiguration super.init(group: group) } + + /// Connect to `host` on port 443. + public func connect(host: String) -> ClientConnection { + return self.connect(host: host, port: 443) + } } }