Instance MethodVapor
redis(_:)
Returns the Redis connection for the given ID.
func redis(_ id: RedisID) -> Application.Redis
Parameters
idThe Redis ID that identifies the specific connection to be used.
Return Value
A Redis connection that is identified by the given id.