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

Latest version: pecl install openswoole-26.11.1 | composer require openswoole/core:26.11.1

Declaration

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

Parameters

port

The port of Redis.

Return

Description

Set the port of Redis.

Last updated on September 16, 2022