OpenSwoole\Core\Coroutine\Client\RedisConfig->withAuth

25.x is outdated, please check the latest version 26.x


Latest version: pecl install openswoole-26.2.0

Declaration

<?php OpenSwoole\Core\Coroutine\Client\RedisConfig->withAuth()

Parameters

auth

The password of Redis.

Return

Description

Set the password of Redis.

Last updated on February 28, 2026