aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar yang-g <yangg@google.com>2015-07-28 22:59:50 -0700
committerGravatar yang-g <yangg@google.com>2015-07-28 23:05:22 -0700
commitf1ec3770637750e3cd732638aa9a2ddca72f3754 (patch)
tree56b78b998e710ce6777aec6eecd44fe2ccaf2e05 /include
parentc07d9bf668934b21ef0c11b72678e049ce5a6333 (diff)
server api
Diffstat (limited to 'include')
-rw-r--r--include/grpc++/server_context.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/grpc++/server_context.h b/include/grpc++/server_context.h
index 3bfa48fbb6..393822c4fd 100644
--- a/include/grpc++/server_context.h
+++ b/include/grpc++/server_context.h
@@ -116,6 +116,8 @@ class ServerContext {
std::shared_ptr<const AuthContext> auth_context() const;
+ grpc::string peer() const;
+
private:
friend class ::grpc::testing::InteropContextInspector;
friend class ::grpc::Server;