swoft-component icon indicating copy to clipboard operation
swoft-component copied to clipboard

Improve PhpRedisConnector class: add auth option (username and passwo…

Open lifinsky opened this issue 5 years ago • 1 comments

PHPRedis 3.5 support auth as array ['username', 'password'] or ['user' => 'username', 'pass' => 'password'].

Because password property in RedisDb has type string, I added support for new option for Redis db connection option - "auth".

For example:

'redis-master' => [ 'class' => RedisDb::class, ... 'option' => ['auth' => ['user' => 'username', 'pass' => 'password']], ]

Swoole 4.5.8 change signature of Response::cookie() method: add priority argument

lifinsky avatar Nov 09 '20 15:11 lifinsky

您好 你这个和组件库冲突了 请重新提PR

XueSiLf avatar Jul 15 '21 03:07 XueSiLf