aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++/server_builder.h
diff options
context:
space:
mode:
authorGravatar Muxi Yan <muxi@users.noreply.github.com>2017-05-17 16:08:24 -0700
committerGravatar GitHub <noreply@github.com>2017-05-17 16:08:24 -0700
commiteb9b82b7e1466a3aa28fcfed9e88e2f5dda35347 (patch)
tree9e8b46b1a0137e79cefb5801538fceb832228294 /include/grpc++/server_builder.h
parent4de910df8b8e55267a6e4eaa30be2ec2303466bf (diff)
parentf6b622c08a908f6c67cebfd554f3e2039298416f (diff)
Merge pull request #11118 from muxi/backward-compat-dev
Add Backward compatibility API to C++
Diffstat (limited to 'include/grpc++/server_builder.h')
-rw-r--r--include/grpc++/server_builder.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/grpc++/server_builder.h b/include/grpc++/server_builder.h
index 5a8577659a..2185b283ac 100644
--- a/include/grpc++/server_builder.h
+++ b/include/grpc++/server_builder.h
@@ -46,6 +46,7 @@
#include <grpc/compression.h>
#include <grpc/support/cpu.h>
#include <grpc/support/useful.h>
+#include <grpc/support/workaround_list.h>
struct grpc_resource_quota;
@@ -184,6 +185,11 @@ class ServerBuilder {
static void InternalAddPluginFactory(
std::unique_ptr<ServerBuilderPlugin> (*CreatePlugin)());
+ /// Enable a server workaround. Do not use unless you know what the workaround
+ /// does. For explanation and detailed descriptions of workarounds, see
+ /// doc/workarounds.md.
+ ServerBuilder& EnableWorkaround(grpc_workaround_list id);
+
private:
friend class ::grpc::testing::ServerBuilderPluginTest;