Description
When instantiating the feature requester using the shorthand options syntax (i.e. an options array rather than a ClientInterface
instance) it's not possible to specify the scheme. This means that for those who require a TLS connection they must instantiate a Predis client to pass in.
Would it be possible to allow the scheme to be provided in the options array, and default to TCP if it's empty? This seems like a small change that would make it much simpler to configure this feature requester when using TLS.
I was imagining it would be as simple as this:
"scheme" => $options['redis_scheme'] ?? "tcp"
Note: I wasn't sure on what was required in the ticket, so let me know if you need me to provide more information. I'm also unsure of what the expectations are for pull requests in this repository, but I would be happy to make this change myself and create a pull request with some guidance on how to contribute.