diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/grpc++/server_context.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/grpc++/server_context.h b/include/grpc++/server_context.h index 9a14faa7fa..47fd6cf1c8 100644 --- a/include/grpc++/server_context.h +++ b/include/grpc++/server_context.h @@ -34,12 +34,16 @@ #ifndef __GRPCPP_SERVER_CONTEXT_H_ #define __GRPCPP_SERVER_CONTEXT_H_ +#include <chrono> + namespace grpc { // Interface of server side rpc context. class ServerContext { public: virtual ~ServerContext() {} + + virtual std::chrono::system_clock::time_point absolute_deadline() const = 0; }; } // namespace grpc |