diff options
author | yang-g <yangg@google.com> | 2015-07-28 09:19:22 -0700 |
---|---|---|
committer | yang-g <yangg@google.com> | 2015-07-28 09:19:22 -0700 |
commit | c07d9bf668934b21ef0c11b72678e049ce5a6333 (patch) | |
tree | 4c925310ffa9a0f928a7539913641a2b3795c587 /include/grpc++/client_context.h | |
parent | 26d533ebb8579b1e1da3710631a890ebe38ab58c (diff) |
client api
Diffstat (limited to 'include/grpc++/client_context.h')
-rw-r--r-- | include/grpc++/client_context.h | 2 |
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_; } |