grpcpp/impl/codegen/client_context.h
Go to the documentation of this file.
1 /*
2  *
3  * Copyright 2015 gRPC authors.
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  */
18 
33 
34 #ifndef GRPCPP_IMPL_CODEGEN_CLIENT_CONTEXT_H
35 #define GRPCPP_IMPL_CODEGEN_CLIENT_CONTEXT_H
36 
37 // IWYU pragma: private, include <grpcpp/client_context.h>
38 
39 #include <map>
40 #include <memory>
41 #include <string>
42 
57 
58 struct census_context;
59 struct grpc_call;
60 
61 namespace grpc {
62 class ServerContext;
63 class ServerContextBase;
64 class CallbackServerContext;
65 
66 namespace internal {
67 template <class InputMessage, class OutputMessage>
68 class CallbackUnaryCallImpl;
69 template <class Request, class Response>
70 class ClientCallbackReaderWriterImpl;
71 template <class Response>
72 class ClientCallbackReaderImpl;
73 template <class Request>
74 class ClientCallbackWriterImpl;
75 class ClientCallbackUnaryImpl;
76 class ClientContextAccessor;
77 class ClientAsyncResponseReaderHelper;
78 } // namespace internal
79 
80 template <class R>
81 class ClientReader;
82 template <class W>
83 class ClientWriter;
84 template <class W, class R>
85 class ClientReaderWriter;
86 template <class R>
87 class ClientAsyncReader;
88 template <class W>
89 class ClientAsyncWriter;
90 template <class W, class R>
91 class ClientAsyncReaderWriter;
92 template <class R>
93 class ClientAsyncResponseReader;
94 
95 namespace testing {
96 class InteropClientContextInspector;
97 class ClientContextTestPeer;
98 } // namespace testing
99 
100 namespace internal {
101 class RpcMethod;
102 template <class InputMessage, class OutputMessage>
103 class BlockingUnaryCallImpl;
104 class CallOpClientRecvStatus;
105 class CallOpRecvInitialMetadata;
106 class ServerContextImpl;
107 template <class InputMessage, class OutputMessage>
108 class CallbackUnaryCallImpl;
109 template <class Request, class Response>
110 class ClientCallbackReaderWriterImpl;
111 template <class Response>
112 class ClientCallbackReaderImpl;
113 template <class Request>
114 class ClientCallbackWriterImpl;
115 class ClientCallbackUnaryImpl;
116 class ClientContextAccessor;
117 } // namespace internal
118 
119 class CallCredentials;
120 class Channel;
121 class ChannelInterface;
122 class CompletionQueue;
123 
130  public:
132 
135  return *this;
136  }
137 
140  return *this;
141  }
142 
145  return *this;
146  }
147 
150  return *this;
151  }
152 
155  return *this;
156  }
157 
160  return *this;
161  }
162 
165  return *this;
166  }
167 
170  return *this;
171  }
172 
173  uint32_t c_bitmask() const { return propagate_; }
174 
175  private:
177 };
178 
196  public:
197  ClientContext();
198  ~ClientContext();
199 
210  static std::unique_ptr<ClientContext> FromServerContext(
211  const grpc::ServerContextBase& server_context,
213  static std::unique_ptr<ClientContext> FromCallbackServerContext(
214  const grpc::CallbackServerContext& server_context,
216 
229 
239  void AddMetadata(const std::string& meta_key, const std::string& meta_value);
240 
249  const std::multimap<grpc::string_ref, grpc::string_ref>&
252  return *recv_initial_metadata_.map();
253  }
254 
261  const std::multimap<grpc::string_ref, grpc::string_ref>&
263  // TODO(yangg) check finished
264  return *trailing_metadata_.map();
265  }
266 
273  template <typename T>
274  void set_deadline(const T& deadline) {
275  grpc::TimePoint<T> deadline_tp(deadline);
276  deadline_ = deadline_tp.raw_time();
277  }
278 
288  }
289 
291  void set_fail_fast(bool fail_fast) { set_wait_for_ready(!fail_fast); }
292 
296  }
297 
299  gpr_timespec raw_deadline() const { return deadline_; }
300 
304 
309  std::shared_ptr<const grpc::AuthContext> auth_context() const {
310  if (auth_context_ == nullptr) {
312  }
313  return auth_context_;
314  }
315 
326  void set_credentials(const std::shared_ptr<grpc::CallCredentials>& creds);
327 
333  std::shared_ptr<grpc::CallCredentials> credentials() { return creds_; }
334 
339  return compression_algorithm_;
340  }
341 
346 
357  void set_initial_metadata_corked(bool corked) {
358  initial_metadata_corked_ = corked;
359  }
360 
369  std::string peer() const;
370 
375  void set_census_context(struct census_context* ccp) { census_context_ = ccp; }
376 
378  struct census_context* census_context() const {
379  return census_context_;
380  }
381 
391  void TryCancel();
392 
398  public:
399  virtual ~GlobalCallbacks() {}
400  virtual void DefaultConstructor(ClientContext* context) = 0;
401  virtual void Destructor(ClientContext* context) = 0;
402  };
403  static void SetGlobalCallbacks(GlobalCallbacks* callbacks);
404 
407  grpc_call* c_call() { return call_; }
408 
415 
416  private:
417  // Disallow copy and assign.
420 
425  friend class grpc::Channel;
426  template <class R>
427  friend class grpc::ClientReader;
428  template <class W>
429  friend class grpc::ClientWriter;
430  template <class W, class R>
432  template <class R>
434  template <class W>
436  template <class W, class R>
438  template <class R>
441  template <class InputMessage, class OutputMessage>
443  template <class InputMessage, class OutputMessage>
445  template <class Request, class Response>
447  template <class Response>
449  template <class Request>
453 
454  // Used by friend class CallOpClientRecvStatus
457  }
458 
459  grpc_call* call() const { return call_; }
460  void set_call(grpc_call* call, const std::shared_ptr<grpc::Channel>& channel);
461 
463  const char* method, const char* suffix_for_stats,
465  const std::vector<std::unique_ptr<
467  size_t interceptor_pos) {
469  suffix_for_stats, channel);
470  rpc_info_.RegisterInterceptors(creators, interceptor_pos);
471  return &rpc_info_;
472  }
473 
478  : 0) |
480  }
481 
483 
485 
486  static std::unique_ptr<ClientContext> FromInternalServerContext(
487  const grpc::ServerContextBase& server_context,
489 
493  std::shared_ptr<grpc::Channel> channel_;
499  std::shared_ptr<grpc::CallCredentials> creds_;
500  mutable std::shared_ptr<const grpc::AuthContext> auth_context_;
502  std::multimap<std::string, std::string> send_initial_metadata_;
505 
508 
511 
513 
515 };
516 
517 } // namespace grpc
518 
519 #endif // GRPCPP_IMPL_CODEGEN_CLIENT_CONTEXT_H
grpc::ClientContext::census_context
struct census_context * census_context() const
Returns the census context that has been set, or nullptr if not set.
Definition: grpcpp/impl/codegen/client_context.h:378
grpc::ClientContext::send_initial_metadata_
std::multimap< std::string, std::string > send_initial_metadata_
Definition: grpcpp/impl/codegen/client_context.h:502
grpc::ClientContext::peer
std::string peer() const
Definition: client_context.cc:174
census_context
struct census_context census_context
Definition: census.h:34
testing
Definition: aws_request_signer_test.cc:25
grpc::ClientContext::GlobalCallbacks::~GlobalCallbacks
virtual ~GlobalCallbacks()
Definition: grpcpp/impl/codegen/client_context.h:399
grpc::ClientContext::set_call
void set_call(grpc_call *call, const std::shared_ptr< grpc::Channel > &channel)
Definition: client_context.cc:126
grpc::ClientContext::compression_algorithm_
grpc_compression_algorithm compression_algorithm_
Definition: grpcpp/impl/codegen/client_context.h:509
grpc::ClientContext::call_canceled_
bool call_canceled_
Definition: grpcpp/impl/codegen/client_context.h:496
grpc::ClientContext::debug_error_string_
std::string debug_error_string_
Definition: grpcpp/impl/codegen/client_context.h:512
grpc::internal::Mutex
Definition: include/grpcpp/impl/codegen/sync.h:59
grpc
Definition: grpcpp/alarm.h:33
grpc::PropagationOptions::disable_cancellation_propagation
PropagationOptions & disable_cancellation_propagation()
Definition: grpcpp/impl/codegen/client_context.h:168
grpc::PropagationOptions
Definition: grpcpp/impl/codegen/client_context.h:129
absl::time_internal::cctz::time_point
std::chrono::time_point< std::chrono::system_clock, D > time_point
Definition: abseil-cpp/absl/time/internal/cctz/include/cctz/time_zone.h:39
grpc::internal::ClientCallbackWriterImpl
Definition: impl/codegen/client_callback.h:885
grpc::ClientContext::authority_
grpc::string authority_
Definition: grpcpp/impl/codegen/client_context.h:498
grpc::ClientContext::call
grpc_call * call() const
Definition: grpcpp/impl/codegen/client_context.h:459
grpc::internal::BlockingUnaryCallImpl
Definition: grpcpp/impl/codegen/channel_interface.h:69
grpc::ClientContext::credentials
std::shared_ptr< grpc::CallCredentials > credentials()
Definition: grpcpp/impl/codegen/client_context.h:333
grpc::ClientContext::set_wait_for_ready
void set_wait_for_ready(bool wait_for_ready)
Definition: grpcpp/impl/codegen/client_context.h:285
callbacks
static unsigned int callbacks
Definition: benchmark-async-pummel.c:31
grpc::PropagationOptions::disable_deadline_propagation
PropagationOptions & disable_deadline_propagation()
Definition: grpcpp/impl/codegen/client_context.h:138
options
double_dict options[]
Definition: capstone_test.c:55
grpc_compression_algorithm
grpc_compression_algorithm
Definition: compression_types.h:60
grpc::experimental::ClientInterceptorFactoryInterface
Definition: impl/codegen/client_interceptor.h:48
testing::internal::string
::std::string string
Definition: bloaty/third_party/protobuf/third_party/googletest/googletest/include/gtest/internal/gtest-port.h:881
propagation_bits.h
grpc::internal::CallbackUnaryCallImpl
Definition: grpcpp/impl/codegen/channel_interface.h:38
auth_context.h
grpc::ClientContext::set_deadline
void set_deadline(const T &deadline)
Definition: grpcpp/impl/codegen/client_context.h:274
create_auth_context.h
slice.h
grpc::ClientContext::ClientContext
ClientContext()
Definition: client_context.cc:64
core_codegen_interface.h
grpc::testing::InteropClientContextInspector
Definition: client_helper.h:48
grpc::PropagationOptions::enable_census_stats_propagation
PropagationOptions & enable_census_stats_propagation()
Definition: grpcpp/impl/codegen/client_context.h:143
grpc::TimePoint
Definition: include/grpcpp/impl/codegen/time.h:42
grpc::ClientContext::AddMetadata
void AddMetadata(const std::string &meta_key, const std::string &meta_value)
Definition: client_context.cc:121
grpc::Channel
Channels represent a connection to an endpoint. Created by CreateChannel.
Definition: include/grpcpp/channel.h:54
T
#define T(upbtypeconst, upbtype, ctype, default_value)
grpc::PropagationOptions::disable_census_stats_propagation
PropagationOptions & disable_census_stats_propagation()
Definition: grpcpp/impl/codegen/client_context.h:148
config.h
metadata_map.h
grpc::experimental::ClientRpcInfo
Definition: impl/codegen/client_interceptor.h:68
grpc::PropagationOptions::disable_census_tracing_propagation
PropagationOptions & disable_census_tracing_propagation()
Definition: grpcpp/impl/codegen/client_context.h:158
uint32_t
unsigned int uint32_t
Definition: stdint-msvc2008.h:80
grpc::ClientContext::set_initial_metadata_corked
void set_initial_metadata_corked(bool corked)
Definition: grpcpp/impl/codegen/client_context.h:357
grpc::ClientContext::set_fail_fast
void set_fail_fast(bool fail_fast)
DEPRECATED: Use set_wait_for_ready() instead.
Definition: grpcpp/impl/codegen/client_context.h:291
grpc::internal::CallOpClientRecvStatus
Definition: call_op_set.h:776
grpc::ClientContext::set_authority
void set_authority(const std::string &authority)
Definition: grpcpp/impl/codegen/client_context.h:303
grpc::ClientContext::authority
std::string authority()
Definition: grpcpp/impl/codegen/client_context.h:482
grpc::PropagationOptions::propagate_
uint32_t propagate_
Definition: grpcpp/impl/codegen/client_context.h:176
grpc::ClientContext::raw_deadline
gpr_timespec raw_deadline() const
Return a gpr_timespec representation of the client call's deadline.
Definition: grpcpp/impl/codegen/client_context.h:299
framework.rpc.grpc_channelz.Channel
Channel
Definition: grpc_channelz.py:32
grpc::ChannelInterface
Codegen interface for grpc::Channel.
Definition: grpcpp/impl/codegen/channel_interface.h:73
grpc::ClientReaderWriter
Definition: grpcpp/impl/codegen/channel_interface.h:35
channel
wrapped_grpc_channel * channel
Definition: src/php/ext/grpc/call.h:33
GRPC_INITIAL_METADATA_WAIT_FOR_READY
#define GRPC_INITIAL_METADATA_WAIT_FOR_READY
Definition: grpc_types.h:523
sync.h
grpc::ClientContext::~ClientContext
~ClientContext()
Definition: client_context.cc:79
grpc::ServerContextBase
Base class of ServerContext.
Definition: grpcpp/impl/codegen/server_context.h:126
grpc::PropagationOptions::enable_deadline_propagation
PropagationOptions & enable_deadline_propagation()
Definition: grpcpp/impl/codegen/client_context.h:133
grpc::ClientContext::creds_
std::shared_ptr< grpc::CallCredentials > creds_
Definition: grpcpp/impl/codegen/client_context.h:499
GRPC_INITIAL_METADATA_WAIT_FOR_READY_EXPLICITLY_SET
#define GRPC_INITIAL_METADATA_WAIT_FOR_READY_EXPLICITLY_SET
Definition: grpc_types.h:526
grpc::ClientContext::wait_for_ready_explicitly_set_
bool wait_for_ready_explicitly_set_
Definition: grpcpp/impl/codegen/client_context.h:492
grpc::ClientContext::auth_context_
std::shared_ptr< const grpc::AuthContext > auth_context_
Definition: grpcpp/impl/codegen/client_context.h:500
grpc::ClientContext::mu_
grpc::internal::Mutex mu_
Definition: grpcpp/impl/codegen/client_context.h:494
grpc::ClientContext::census_context_
struct census_context * census_context_
Definition: grpcpp/impl/codegen/client_context.h:501
grpc::ClientContext::set_debug_error_string
void set_debug_error_string(const std::string &debug_error_string)
Definition: grpcpp/impl/codegen/client_context.h:455
grpc::internal::ClientCallbackUnaryImpl
Definition: impl/codegen/client_callback.h:1113
GRPC_INITIAL_METADATA_CORKED
#define GRPC_INITIAL_METADATA_CORKED
Definition: grpc_types.h:528
grpc_call
struct grpc_call grpc_call
Definition: grpc_types.h:70
GRPC_PROPAGATE_CENSUS_STATS_CONTEXT
#define GRPC_PROPAGATE_CENSUS_STATS_CONTEXT
Definition: propagation_bits.h:35
grpc::ClientContext::recv_initial_metadata_
grpc::internal::MetadataMap recv_initial_metadata_
Definition: grpcpp/impl/codegen/client_context.h:503
grpc::ClientContext::FromServerContext
static std::unique_ptr< ClientContext > FromServerContext(const grpc::ServerContextBase &server_context, PropagationOptions options=PropagationOptions())
Definition: client_context.cc:110
grpc::ClientWriter
Definition: grpcpp/impl/codegen/channel_interface.h:33
grpc::PropagationOptions::PropagationOptions
PropagationOptions()
Definition: grpcpp/impl/codegen/client_context.h:131
grpc::ClientContext::auth_context
std::shared_ptr< const grpc::AuthContext > auth_context() const
Definition: grpcpp/impl/codegen/client_context.h:309
grpc::ClientContext::SendCancelToInterceptors
void SendCancelToInterceptors()
Definition: client_context.cc:167
grpc::PropagationOptions::enable_census_tracing_propagation
PropagationOptions & enable_census_tracing_propagation()
Definition: grpcpp/impl/codegen/client_context.h:153
grpc::ClientContext::initial_metadata_received_
bool initial_metadata_received_
Definition: grpcpp/impl/codegen/client_context.h:490
grpc.beta.implementations.CallCredentials
CallCredentials
Definition: implementations.py:35
grpc::internal::MetadataMap
Definition: grpcpp/impl/codegen/metadata_map.h:35
grpc::testing::ClientContextTestPeer
A test-only class to access private members and methods of ClientContext.
Definition: client_context_test_peer.h:30
rpc_method.h
grpc::ClientContext::GlobalCallbacks::Destructor
virtual void Destructor(ClientContext *context)=0
grpc::ClientContext::trailing_metadata_
grpc::internal::MetadataMap trailing_metadata_
Definition: grpcpp/impl/codegen/client_context.h:504
grpc::CallbackServerContext
Definition: grpcpp/impl/codegen/server_context.h:606
grpc::internal::RpcMethod::RpcType
RpcType
Definition: grpcpp/impl/codegen/rpc_method.h:33
grpc::internal::CallOpRecvInitialMetadata
Definition: call_op_set.h:728
grpc::ClientContext::deadline_
gpr_timespec deadline_
Definition: grpcpp/impl/codegen/client_context.h:497
grpc::ClientContext::initial_metadata_flags
uint32_t initial_metadata_flags() const
Definition: grpcpp/impl/codegen/client_context.h:474
grpc::Timespec2Timepoint
std::chrono::system_clock::time_point Timespec2Timepoint(gpr_timespec t)
Definition: time_cc.cc:68
client_interceptor.h
grpc::ClientContext
Definition: grpcpp/impl/codegen/client_context.h:195
grpc::ClientContext::rpc_info_
grpc::experimental::ClientRpcInfo rpc_info_
Definition: grpcpp/impl/codegen/client_context.h:514
compression_types.h
grpc::ClientContext::GlobalCallbacks
Definition: grpcpp/impl/codegen/client_context.h:397
grpc::internal::ClientCallbackReaderImpl
Definition: impl/codegen/client_callback.h:726
grpc::ClientAsyncReader
Definition: grpcpp/impl/codegen/async_stream.h:199
grpc::ClientContext::wait_for_ready_
bool wait_for_ready_
Definition: grpcpp/impl/codegen/client_context.h:491
grpc::ClientContext::FromInternalServerContext
static std::unique_ptr< ClientContext > FromInternalServerContext(const grpc::ServerContextBase &server_context, PropagationOptions options)
Definition: client_context.cc:102
grpc::ClientContext::GetServerTrailingMetadata
const std::multimap< grpc::string_ref, grpc::string_ref > & GetServerTrailingMetadata() const
Definition: grpcpp/impl/codegen/client_context.h:262
status.h
string_ref.h
wait_for_ready
bool wait_for_ready
Definition: rls_end2end_test.cc:240
grpc::ClientContext::ClientContextAccessor
friend class grpc::internal::ClientContextAccessor
Definition: grpcpp/impl/codegen/client_context.h:452
GRPC_PROPAGATE_DEFAULTS
#define GRPC_PROPAGATE_DEFAULTS
Definition: propagation_bits.h:45
grpc::experimental::ClientRpcInfo::RegisterInterceptors
void RegisterInterceptors(const std::vector< std::unique_ptr< experimental::ClientInterceptorFactoryInterface >> &creators, size_t interceptor_pos)
Definition: impl/codegen/client_interceptor.h:144
grpc::ClientContext::call_
grpc_call * call_
Definition: grpcpp/impl/codegen/client_context.h:495
grpc::ClientContext::GlobalCallbacks::DefaultConstructor
virtual void DefaultConstructor(ClientContext *context)=0
grpc::ClientContext::deadline
std::chrono::system_clock::time_point deadline() const
Return the deadline for the client call.
Definition: grpcpp/impl/codegen/client_context.h:294
grpc::internal::ClientCallbackReaderWriterImpl
Definition: impl/codegen/client_callback.h:469
GRPC_PROPAGATE_CENSUS_TRACING_CONTEXT
#define GRPC_PROPAGATE_CENSUS_TRACING_CONTEXT
Definition: propagation_bits.h:36
grpc::ClientContext::TryCancel
void TryCancel()
Definition: client_context.cc:157
grpc::ClientAsyncReaderWriter
Definition: grpcpp/impl/codegen/async_stream.h:513
grpc::ClientContext::FromCallbackServerContext
static std::unique_ptr< ClientContext > FromCallbackServerContext(const grpc::CallbackServerContext &server_context, PropagationOptions options=PropagationOptions())
Definition: client_context.cc:115
grpc::ClientContext::set_census_context
void set_census_context(struct census_context *ccp)
Definition: grpcpp/impl/codegen/client_context.h:375
grpc::ClientContext::compression_algorithm
grpc_compression_algorithm compression_algorithm() const
Definition: grpcpp/impl/codegen/client_context.h:338
grpc::ClientAsyncResponseReader
Definition: grpcpp/impl/codegen/async_unary_call.h:37
grpc::ClientContext::propagate_from_call_
grpc_call * propagate_from_call_
Definition: grpcpp/impl/codegen/client_context.h:506
grpc::ClientContext::initial_metadata_corked_
bool initial_metadata_corked_
Definition: grpcpp/impl/codegen/client_context.h:510
grpc::ClientContext::operator=
ClientContext & operator=(const ClientContext &)
grpc::CreateAuthContext
std::shared_ptr< const AuthContext > CreateAuthContext(grpc_call *call)
Definition: insecure_create_auth_context.cc:25
grpc::PropagationOptions::enable_cancellation_propagation
PropagationOptions & enable_cancellation_propagation()
Definition: grpcpp/impl/codegen/client_context.h:163
grpc::ClientContext::c_call
grpc_call * c_call()
Definition: grpcpp/impl/codegen/client_context.h:407
GPR_CODEGEN_ASSERT
#define GPR_CODEGEN_ASSERT(x)
Codegen specific version of GPR_ASSERT.
Definition: grpcpp/impl/codegen/core_codegen_interface.h:151
time.h
internal
Definition: benchmark/test/output_test_helper.cc:20
context
grpc::ClientContext context
Definition: istio_echo_server_lib.cc:61
grpc::internal::ClientAsyncResponseReaderHelper
Definition: grpcpp/impl/codegen/async_unary_call.h:78
GRPC_PROPAGATE_DEADLINE
#define GRPC_PROPAGATE_DEADLINE
Definition: propagation_bits.h:33
grpc::ClientContext::GetServerInitialMetadata
const std::multimap< grpc::string_ref, grpc::string_ref > & GetServerInitialMetadata() const
Definition: grpcpp/impl/codegen/client_context.h:250
asyncio_get_stats.type
type
Definition: asyncio_get_stats.py:37
gpr_timespec
Definition: gpr_types.h:50
grpc::ClientContext::set_credentials
void set_credentials(const std::shared_ptr< grpc::CallCredentials > &creds)
Definition: client_context.cc:86
grpc::ClientContext::propagation_options_
PropagationOptions propagation_options_
Definition: grpcpp/impl/codegen/client_context.h:507
grpc::ClientAsyncWriter
Definition: grpcpp/impl/codegen/async_stream.h:347
grpc::internal::MetadataMap::map
std::multimap< grpc::string_ref, grpc::string_ref > * map()
Definition: grpcpp/impl/codegen/metadata_map.h:68
grpc::ClientContext::debug_error_string
std::string debug_error_string() const
Definition: grpcpp/impl/codegen/client_context.h:414
method
NSString * method
Definition: ProtoMethod.h:28
grpc::ClientContext::SetGlobalCallbacks
static void SetGlobalCallbacks(GlobalCallbacks *callbacks)
Definition: client_context.cc:184
grpc::TimePoint::raw_time
gpr_timespec raw_time()=delete
grpc::ClientContext::set_compression_algorithm
void set_compression_algorithm(grpc_compression_algorithm algorithm)
Definition: client_context.cc:144
grpc::ClientContext::set_client_rpc_info
grpc::experimental::ClientRpcInfo * set_client_rpc_info(const char *method, const char *suffix_for_stats, grpc::internal::RpcMethod::RpcType type, grpc::ChannelInterface *channel, const std::vector< std::unique_ptr< grpc::experimental::ClientInterceptorFactoryInterface >> &creators, size_t interceptor_pos)
Definition: grpcpp/impl/codegen/client_context.h:462
grpc::ClientContext::channel_
std::shared_ptr< grpc::Channel > channel_
Definition: grpcpp/impl/codegen/client_context.h:493
grpc::ClientReader
Definition: grpcpp/impl/codegen/channel_interface.h:31
grpc::PropagationOptions::c_bitmask
uint32_t c_bitmask() const
Definition: grpcpp/impl/codegen/client_context.h:173
GRPC_PROPAGATE_CANCELLATION
#define GRPC_PROPAGATE_CANCELLATION
Definition: propagation_bits.h:38


grpc
Author(s):
autogenerated on Thu Mar 13 2025 02:58:47