|
|
|
@ -110,7 +110,7 @@ class ClientContext { |
|
|
|
|
creds_ = creds; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
grpc_compression_algorithm get_compression_algorithm() const { |
|
|
|
|
grpc_compression_algorithm compression_algorithm() const { |
|
|
|
|
return compression_algorithm_; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -119,8 +119,8 @@ class ClientContext { |
|
|
|
|
std::shared_ptr<const AuthContext> auth_context() 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_; } |
|
|
|
|
void set_census_context(struct census_context* ccp) { census_context_ = ccp; } |
|
|
|
|
struct census_context* census_context() const { return census_context_; } |
|
|
|
|
|
|
|
|
|
void TryCancel(); |
|
|
|
|
|
|
|
|
@ -170,7 +170,7 @@ class ClientContext { |
|
|
|
|
grpc::string authority_; |
|
|
|
|
std::shared_ptr<Credentials> creds_; |
|
|
|
|
mutable std::shared_ptr<const AuthContext> auth_context_; |
|
|
|
|
census_context* census_context_; |
|
|
|
|
struct census_context* census_context_; |
|
|
|
|
std::multimap<grpc::string, grpc::string> send_initial_metadata_; |
|
|
|
|
std::multimap<grpc::string, grpc::string> recv_initial_metadata_; |
|
|
|
|
std::multimap<grpc::string, grpc::string> trailing_metadata_; |
|
|
|
|