aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++/client_context.h
diff options
context:
space:
mode:
authorGravatar yang-g <yangg@google.com>2015-07-28 09:19:22 -0700
committerGravatar yang-g <yangg@google.com>2015-07-28 09:19:22 -0700
commitc07d9bf668934b21ef0c11b72678e049ce5a6333 (patch)
tree4c925310ffa9a0f928a7539913641a2b3795c587 /include/grpc++/client_context.h
parent26d533ebb8579b1e1da3710631a890ebe38ab58c (diff)
client api
Diffstat (limited to 'include/grpc++/client_context.h')
-rw-r--r--include/grpc++/client_context.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/grpc++/client_context.h b/include/grpc++/client_context.h
index 9df76699d2..f18fb61b4c 100644
--- a/include/grpc++/client_context.h
+++ b/include/grpc++/client_context.h
@@ -118,6 +118,8 @@ class ClientContext {
std::shared_ptr<const AuthContext> auth_context() const;
+ grpc::string peer() const;
+
// Get and set census context
void set_census_context(census_context* ccp) { census_context_ = ccp; }
census_context* get_census_context() const { return census_context_; }