diff options
author | Yihua Zhang <yihuaz@google.com> | 2018-12-16 14:50:26 -0800 |
---|---|---|
committer | Yihua Zhang <yihuaz@google.com> | 2018-12-16 14:50:26 -0800 |
commit | 0531d3d3adfd12e1d9aeaa49fb19096b4c1fb5d9 (patch) | |
tree | 39525f9c0885e3dfa184e711a55f6f23895e56a1 /include | |
parent | b250f34b1225cde1bb19496c5cc5d66e40111052 (diff) |
extend local credentials to support tcp loopback
Diffstat (limited to 'include')
-rw-r--r-- | include/grpc/grpc_security_constants.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/grpc/grpc_security_constants.h b/include/grpc/grpc_security_constants.h index f935557f2d..a082f67010 100644 --- a/include/grpc/grpc_security_constants.h +++ b/include/grpc/grpc_security_constants.h @@ -106,10 +106,10 @@ typedef enum { } grpc_ssl_client_certificate_request_type; /** - * Type of local connection for which local channel/server credentials will be - * applied. It only supports UDS for now. + * Type of local connections for which local channel/server credentials will be + * applied. It supports UDS and local TCP connections. */ -typedef enum { UDS = 0 } grpc_local_connect_type; +typedef enum { UDS = 0, LOCAL_TCP } grpc_local_connect_type; #ifdef __cplusplus } |