Redis Documentation

Extensions on Application.Sessions.Provider

Properties

redis

public static var redis: Self  

Provides a Redis sessions driver with the default delegate.

Methods

redis(delegate:​)

@inlinable
    public static func redis<Delegate: RedisSessionsDelegate>(delegate: Delegate) -> Self  

Provides a Redis sessions driver using the provided delegate.

Parameters

delegate Delegate

The delegate to use in the Redis sessions driver.