Skip to content

Instance Method

redis(_:)

Returns the Redis connection for the given ID.
func redis(_ id: RedisID) -> Application.Redis

Parameters

id

The Redis ID that identifies the specific connection to be used.

Return Value

A Redis connection that is identified by the given id.