GRPC C++  1.32.0
Namespaces | Functions
create_channel.h File Reference
#include <memory>
#include <grpcpp/channel.h>
#include <grpcpp/impl/codegen/client_interceptor.h>
#include <grpcpp/security/credentials.h>
#include <grpcpp/support/channel_arguments.h>
#include <grpcpp/support/config.h>

Go to the source code of this file.

Namespaces

 grpc
 This header provides an object that reads bytes directly from a grpc::ByteBuffer, via the ZeroCopyInputStream interface.
 
 grpc::experimental
 ClientRpcInfo represents the state of a particular RPC as it appears to an interceptor.
 

Functions

std::shared_ptr< Channel > grpc::CreateChannel (const grpc::string &target, const std::shared_ptr< ChannelCredentials > &creds)
 Create a new Channel pointing to target. More...
 
std::shared_ptr< Channel > grpc::CreateCustomChannel (const grpc::string &target, const std::shared_ptr< ChannelCredentials > &creds, const ChannelArguments &args)
 Create a new custom Channel pointing to target. More...
 
std::shared_ptr< Channel > grpc::experimental::CreateCustomChannelWithInterceptors (const grpc::string &target, const std::shared_ptr< ChannelCredentials > &creds, const ChannelArguments &args, std::vector< std::unique_ptr< experimental::ClientInterceptorFactoryInterface >> interceptor_creators)
 Create a new custom Channel pointing to target with interceptors being invoked per call. More...