wp-redis-predis-client
wp-redis-predis-client copied to clipboard
Support tls:// Scheme Detection in Host Argument
For interoperability with PhpRedis, and to provide a way to turn on TLS using global constants, it would be helpful to support detecting if tls:// has been supplied in the host argument and set the scheme to tls:// instead of 'tcp:// in this cases.
https://github.com/humanmade/wp-redis-predis-client/blob/9ef28392ab0a7767f348d5736b5493c1380220dd/functions.php#L54
I've opened up a corresponding issue for WP Redis as well(https://github.com/pantheon-systems/wp-redis/issues/322),