Add plugins at the time of static initialization
diff --git a/include/grpc++/server_builder.h b/include/grpc++/server_builder.h
index a47b5c7..52064b1 100644
--- a/include/grpc++/server_builder.h
+++ b/include/grpc++/server_builder.h
@@ -113,6 +113,9 @@
/// Return a running server which is ready for processing calls.
std::unique_ptr<Server> BuildAndStart();
+ static void InternalAddPluginFactory(
+ std::unique_ptr<ServerBuilderPlugin> (*CreatePlugin)());
+
private:
friend class ::grpc::testing::ServerBuilderPluginTest;