diff options
author | yang-g <yangg@google.com> | 2015-11-25 10:21:05 -0800 |
---|---|---|
committer | yang-g <yangg@google.com> | 2015-11-25 10:21:05 -0800 |
commit | a23f17b1233453334ad137a3aeb338c801b5ada4 (patch) | |
tree | a23e9835a98b4414817f1c27e66b1c779f4631b5 /include/grpc++/server.h | |
parent | 447c795bb8d82ec328573c6517d82dc6d0dcc0f8 (diff) |
add server_builder_option
Diffstat (limited to 'include/grpc++/server.h')
-rw-r--r-- | include/grpc++/server.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/grpc++/server.h b/include/grpc++/server.h index 1a62df5698..3161526aa9 100644 --- a/include/grpc++/server.h +++ b/include/grpc++/server.h @@ -37,14 +37,15 @@ #include <list> #include <memory> -#include <grpc/compression.h> #include <grpc++/completion_queue.h> #include <grpc++/impl/call.h> #include <grpc++/impl/grpc_library.h> #include <grpc++/impl/sync.h> #include <grpc++/security/server_credentials.h> +#include <grpc++/support/channel_arguments.h> #include <grpc++/support/config.h> #include <grpc++/support/status.h> +#include <grpc/compression.h> struct grpc_server; @@ -100,7 +101,7 @@ class Server GRPC_FINAL : public GrpcLibrary, private CallHook { /// \param max_message_size Maximum message length that the channel can /// receive. Server(ThreadPoolInterface* thread_pool, bool thread_pool_owned, - int max_message_size, grpc_compression_options compression_options); + int max_message_size, const ChannelArguments& args); /// Register a service. This call does not take ownership of the service. /// The service must exist for the lifetime of the Server instance. |