Browse Source

Tweak the visibility of `Handler.call`.

Daniel Alm 7 years ago
parent
commit
800cea150f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Sources/SwiftGRPC/Core/Handler.swift

+ 1 - 1
Sources/SwiftGRPC/Core/Handler.swift

@@ -30,7 +30,7 @@ public class Handler {
   public let requestMetadata: Metadata
 
   /// A Call object that can be used to respond to the request
-  public lazy var call: Call = {
+  public private(set) lazy var call: Call = {
     Call(underlyingCall: cgrpc_handler_get_call(self.underlyingHandler),
          owned: false,
          completionQueue: self.completionQueue)