GRPC C++
1.39.1
|
#include <grpc/support/port_platform.h>
#include "src/core/lib/security/credentials/local/local_credentials.h"
#include <grpc/grpc.h>
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include "src/core/lib/channel/channel_args.h"
#include "src/core/lib/security/security_connector/local/local_security_connector.h"
Macros | |
#define | GRPC_CREDENTIALS_TYPE_LOCAL "Local" |
Functions | |
grpc_channel_credentials * | grpc_local_credentials_create (grpc_local_connect_type connect_type) |
— Local channel/server credentials — More... | |
grpc_server_credentials * | grpc_local_server_credentials_create (grpc_local_connect_type connect_type) |
This method creates a local server credential object. More... | |
#define GRPC_CREDENTIALS_TYPE_LOCAL "Local" |
grpc_channel_credentials* grpc_local_credentials_create | ( | grpc_local_connect_type | type | ) |
— Local channel/server credentials —
This method creates a local channel credential object. The security level of the resulting connection is GRPC_PRIVACY_AND_INTEGRITY for UDS and GRPC_SECURITY_NONE for LOCAL_TCP. It is used for experimental purpose for now and subject to change.
It returns the created local channel credential object.
grpc_server_credentials* grpc_local_server_credentials_create | ( | grpc_local_connect_type | type | ) |
This method creates a local server credential object.
It is used for experimental purpose for now and subject to change.
It returns the created local server credential object.