소스 검색

Make secure client connections the default.

Tim Burks 8 년 전
부모
커밋
0ca6902635
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Sources/gRPC/Channel.swift

+ 1 - 1
Sources/gRPC/Channel.swift

@@ -38,7 +38,7 @@ public class Channel {
   ///
   /// - Parameter address: the address of the server to be called
   /// - Parameter secure: if true, use TLS
-  public init(address: String, secure: Bool = false) {
+  public init(address: String, secure: Bool = true) {
     self.host = address
     if secure {
       underlyingChannel = cgrpc_channel_create_secure(address, roots_pem(), nil)