GRPC C++  1.39.1
Data Structures | Namespaces | Functions
secure_channel_create.cc File Reference
#include <grpc/support/port_platform.h>
#include <grpc/grpc.h>
#include <string.h>
#include <grpc/support/alloc.h>
#include <grpc/support/string_util.h>
#include "src/core/ext/filters/client_channel/client_channel.h"
#include "src/core/ext/filters/client_channel/resolver_registry.h"
#include "src/core/ext/transport/chttp2/client/chttp2_connector.h"
#include "src/core/lib/address_utils/sockaddr_utils.h"
#include "src/core/lib/channel/channel_args.h"
#include "src/core/lib/gprpp/memory.h"
#include "src/core/lib/security/credentials/credentials.h"
#include "src/core/lib/security/security_connector/security_connector.h"
#include "src/core/lib/slice/slice_internal.h"
#include "src/core/lib/surface/api_trace.h"
#include "src/core/lib/surface/channel.h"
#include "src/core/lib/transport/authority_override.h"
#include "src/core/lib/uri/uri_parser.h"

Data Structures

class  grpc_core::Chttp2SecureClientChannelFactory
 

Namespaces

 grpc_core
 Round Robin Policy.
 

Functions

grpc_channelgrpc_secure_channel_create (grpc_channel_credentials *creds, const char *target, const grpc_channel_args *args, void *reserved)
 — Secure channel creation. More...
 

Function Documentation

◆ grpc_secure_channel_create()

grpc_channel* grpc_secure_channel_create ( grpc_channel_credentials creds,
const char *  target,
const grpc_channel_args args,
void *  reserved 
)

— Secure channel creation.

— Creates a secure channel using the passed-in credentials. Additional channel level configuration MAY be provided by grpc_channel_args, though the expectation is that most clients will want to simply pass NULL. The user data in 'args' need only live through the invocation of this function. However, if any args of the 'pointer' type are passed, then the referenced vtable must be maintained by the caller until grpc_channel_destroy terminates. See grpc_channel_args definition for more on this.