1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-06 02:15:48 +03:00

Add rejectedUnauthorized and other TLS options (#1708)

This commit is contained in:
Da-Jin Chu
2021-11-10 23:44:22 -05:00
committed by GitHub
parent 53bc564793
commit d4f63219af

View File

@@ -22,7 +22,7 @@ export interface RedisUnixSocketOptions extends RedisSocketCommonOptions {
path: string;
}
export interface RedisTlsSocketOptions extends RedisNetSocketOptions, tls.SecureContextOptions {
export interface RedisTlsSocketOptions extends RedisNetSocketOptions, tls.SecureContextOptions, tls.CommonConnectionOption {
tls: true;
}