RedisResource.withHostPort
Method
interface RedisResource { // ... omitted for brevity withHostPort(port: number): RedisResource;}Signature
method
withHostPortbuilderConfigures the host port that the Redis resource is exposed on instead of using randomly assigned port.
withHostPort(port: number): RedisResourceParameters
portnumberReturns
RedisResourceDefined on
This method is defined on the following type: