We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79b392c commit 0ca6902Copy full SHA for 0ca6902
Sources/gRPC/Channel.swift
@@ -38,7 +38,7 @@ public class Channel {
38
///
39
/// - Parameter address: the address of the server to be called
40
/// - Parameter secure: if true, use TLS
41
- public init(address: String, secure: Bool = false) {
+ public init(address: String, secure: Bool = true) {
42
self.host = address
43
if secure {
44
underlyingChannel = cgrpc_channel_create_secure(address, roots_pem(), nil)
0 commit comments