Explorar o código

Make and variable again, for use in client code.

Daniel Alm %!s(int64=7) %!d(string=hai) anos
pai
achega
40978ae486
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      Sources/gRPC/Channel.swift

+ 2 - 2
Sources/gRPC/Channel.swift

@@ -27,10 +27,10 @@ public class Channel {
   private let completionQueue: CompletionQueue
 
   /// Timeout for new calls
-  public let timeout: TimeInterval = 600.0
+  public var timeout: TimeInterval = 600.0
 
   /// Default host to use for new calls
-  public let host: String
+  public var host: String
 
   /// Initializes a gRPC channel
   ///