summaryrefslogtreecommitdiff
path: root/grpc
diff options
context:
space:
mode:
authormustiikhalil <mustii@mmk.one>2020-04-06 20:05:56 +0300
committerGitHub <noreply@github.com>2020-04-06 10:05:56 -0700
commit9655e12d6d69cd7c651491d9a39db4a7d0644159 (patch)
treeb6d2873b78805724dc69fd92c054f34df558a6c7 /grpc
parentfb96fadc20a78da264b1878ff95f12838c3b22c8 (diff)
downloadflatbuffers-9655e12d6d69cd7c651491d9a39db4a7d0644159.tar.gz
flatbuffers-9655e12d6d69cd7c651491d9a39db4a7d0644159.tar.bz2
flatbuffers-9655e12d6d69cd7c651491d9a39db4a7d0644159.zip
Upgraded swift implementation for grpc (#5843)
Updated version number
Diffstat (limited to 'grpc')
-rw-r--r--grpc/src/compiler/swift_generator.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/grpc/src/compiler/swift_generator.cc b/grpc/src/compiler/swift_generator.cc
index 7997278b..0a25f6e3 100644
--- a/grpc/src/compiler/swift_generator.cc
+++ b/grpc/src/compiler/swift_generator.cc
@@ -108,13 +108,13 @@ void GenerateClientClass(const grpc_generator::Service *service,
printer->Print(vars,
"$ACCESS$ final class $ServiceName$ServiceClient: GRPCClient, "
"$ServiceName$Service {\n");
- printer->Print(vars, "\t$ACCESS$ let connection: ClientConnection\n");
+ printer->Print(vars, "\t$ACCESS$ let channel: GRPCChannel\n");
printer->Print(vars, "\t$ACCESS$ var defaultCallOptions: CallOptions\n");
printer->Print("\n");
printer->Print(vars,
- "\t$ACCESS$ init(connection: ClientConnection, "
+ "\t$ACCESS$ init(channel: GRPCChannel, "
"defaultCallOptions: CallOptions = CallOptions()) {\n");
- printer->Print("\t\tself.connection = connection\n");
+ printer->Print("\t\tself.channel = channel\n");
printer->Print("\t\tself.defaultCallOptions = defaultCallOptions\n");
printer->Print("\t}");
printer->Print("\n");