GRPC Core  18.0.0
Data Structures | Namespaces | Functions
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/authority.h"
#include "src/core/ext/transport/chttp2/client/chttp2_connector.h"
#include "src/core/lib/channel/channel_args.h"
#include "src/core/lib/surface/api_trace.h"
#include "src/core/lib/surface/channel.h"

Data Structures

class  grpc_core::Chttp2InsecureClientChannelFactory
 

Namespaces

 grpc_core
 Round Robin Policy.
 

Functions

grpc_channelgrpc_insecure_channel_create (const char *target, const grpc_channel_args *args, void *reserved)
 Create a client channel to 'target'. More...
 

Function Documentation

◆ grpc_insecure_channel_create()

grpc_channel* grpc_insecure_channel_create ( const char *  target,
const grpc_channel_args args,
void *  reserved 
)

Create a client channel to 'target'.

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.