Skip to content

Commit a5bc23d

Browse files
authored
Update the RouteGuide example and tutorial (#1331)
Motivation: Our examples should be up-to-date. The RouteGuide example currently uses the NIO event-loop-future API, it should use the async/await API instead. Modifications: - Convert the route guide example to async/await - Update the corresponding tutorial Result: RouteGuide is more up-to-date
1 parent a6d3157 commit a5bc23d

File tree

6 files changed

+742
-490
lines changed

6 files changed

+742
-490
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ ${XCODEPROJ}:
6666
protoc $< \
6767
--proto_path=$(dir $<) \
6868
--plugin=${PROTOC_GEN_GRPC_SWIFT} \
69-
--grpc-swift_opt=Visibility=Public \
69+
--grpc-swift_opt=Visibility=Public,ExperimentalAsyncClient=true,ExperimentalAsyncServer=true \
7070
--grpc-swift_out=$(dir $<)
7171

7272
ECHO_PROTO=Sources/Examples/Echo/Model/echo.proto

0 commit comments

Comments
 (0)