Skip to main content

askForRedisUrl

talawa-apiDocs


talawa-api / setup/redisConfiguration / askForRedisUrl

Function: askForRedisUrl()

> askForRedisUrl(): Promise<object>

The function askForRedisUrl prompts the user to enter the Redis hostname, port, and password, and returns an object with these values.

Returns

Promise<object>

The function askForRedisUrl returns a promise that resolves to an object with the properties host, port, and password.

host

> host: string

password

> password: string

port

> port: number

Defined in

src/setup/redisConfiguration.ts:36