aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpcpp/server.h
diff options
context:
space:
mode:
authorGravatar Yash Tibrewal <yashkt@google.com>2018-10-18 16:07:00 -0700
committerGravatar Yash Tibrewal <yashkt@google.com>2018-10-18 16:07:00 -0700
commitadca91f6cfe57cbd4af1e5a8cc8bfe3b506445c5 (patch)
treeac6cf068868d37bb3cfeb7964d603d43a4424932 /include/grpcpp/server.h
parentd042a5acf1fc83810c5a3b3e7cf2a8340748f1ba (diff)
Server interception for SyncRequest
Diffstat (limited to 'include/grpcpp/server.h')
-rw-r--r--include/grpcpp/server.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/grpcpp/server.h b/include/grpcpp/server.h
index 27d1ec0cfa..a593b60550 100644
--- a/include/grpcpp/server.h
+++ b/include/grpcpp/server.h
@@ -191,6 +191,10 @@ class Server : public ServerInterface, private GrpcLibraryCodegen {
grpc_server* server() override { return server_; };
private:
+ const std::vector<std::unique_ptr<experimental::ServerInterceptorFactoryInterface>>* interceptor_creators() override {
+ return &interceptor_creators_;
+ }
+
friend class AsyncGenericService;
friend class ServerBuilder;
friend class ServerInitializer;