Go to the documentation of this file.
65 : initial_metadata_received_(
false),
66 wait_for_ready_(
false),
67 wait_for_ready_explicitly_set_(
false),
69 call_canceled_(
false),
71 census_context_(nullptr),
72 propagate_from_call_(nullptr),
74 initial_metadata_corked_(
false) {
87 const std::shared_ptr<CallCredentials>& creds) {
96 "Failed to set credentials to rpc.",
127 const std::shared_ptr<Channel>&
channel) {
136 "Failed to set credentials to rpc.",
nullptr);
147 const char* algorithm_name =
nullptr;
std::multimap< std::string, std::string > send_initial_metadata_
GRPCAPI grpc_call_error grpc_call_cancel(grpc_call *call, void *reserved)
void set_call(grpc_call *call, const std::shared_ptr< grpc::Channel > &channel)
grpc_compression_algorithm compression_algorithm_
gpr_free(creds_file_name)
GRPCAPI char * grpc_call_get_peer(grpc_call *call)
static grpc::internal::GrpcLibraryInitializer g_gli_initializer
grpc_compression_algorithm
std::vector< std::unique_ptr< experimental::Interceptor > > interceptors_
GPRAPI gpr_timespec gpr_inf_future(gpr_clock_type type)
static struct test_ctx ctx
void AddMetadata(const std::string &meta_key, const std::string &meta_value)
Instantiating this class ensures the proper initialization of gRPC.
wrapped_grpc_channel * channel
Base class of ServerContext.
GRPCAPI int grpc_compression_algorithm_name(grpc_compression_algorithm algorithm, const char **name)
GRPCAPI void grpc_call_unref(grpc_call *call)
std::shared_ptr< grpc::CallCredentials > creds_
void Destructor(ClientContext *) override
GPRAPI void gpr_log(const char *file, int line, gpr_log_severity severity, const char *format,...) GPR_PRINT_FORMAT_CHECK(4
grpc::internal::Mutex mu_
struct grpc_call grpc_call
static std::unique_ptr< ClientContext > FromServerContext(const grpc::ServerContextBase &server_context, PropagationOptions options=PropagationOptions())
void SendCancelToInterceptors()
void RunInterceptor(experimental::InterceptorBatchMethods *interceptor_methods, size_t pos)
virtual void Destructor(ClientContext *context)=0
static DefaultGlobalClientCallbacks * g_default_client_callbacks
static ClientContext::GlobalCallbacks * g_client_callbacks
grpc::experimental::ClientRpcInfo rpc_info_
static std::unique_ptr< ClientContext > FromInternalServerContext(const grpc::ServerContextBase &server_context, PropagationOptions options)
#define GRPC_COMPRESSION_REQUEST_ALGORITHM_MD_KEY
virtual void DefaultConstructor(ClientContext *context)=0
static std::unique_ptr< ClientContext > FromCallbackServerContext(const grpc::CallbackServerContext &server_context, PropagationOptions options=PropagationOptions())
grpc::ClientContext context
void set_credentials(const std::shared_ptr< grpc::CallCredentials > &creds)
static void SetGlobalCallbacks(GlobalCallbacks *callbacks)
~DefaultGlobalClientCallbacks() override
void set_compression_algorithm(grpc_compression_algorithm algorithm)
GRPCAPI grpc_call_error grpc_call_cancel_with_status(grpc_call *call, grpc_status_code status, const char *description, void *reserved)
std::shared_ptr< grpc::Channel > channel_
void DefaultConstructor(ClientContext *) override
grpc
Author(s):
autogenerated on Thu Mar 13 2025 02:58:47