Browse Source

Update Echo sample to use Call start() callbacks.

Tim Burks 9 years ago
parent
commit
16076a3887
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Samples/Echo/Sources/EchoService.swift

+ 1 - 1
Samples/Echo/Sources/EchoService.swift

@@ -113,7 +113,7 @@ public class EchoCollectCall {
 
 
   // Call this to start a call.
   // Call this to start a call.
   func start(metadata:Metadata) throws {
   func start(metadata:Metadata) throws {
-    try self.call.start(metadata: metadata)
+    try self.call.start(metadata: metadata, completion:{})
   }
   }
 
 
   // Call this to send each message in the request stream.
   // Call this to send each message in the request stream.