Skip to content

Instance Method

makeDriver(delegate:)

Factory method that creates a new Redis Sessions driver with the provided delegate.
func makeDriver<Delegate>(delegate: Delegate) -> some SessionDriver where Delegate : RedisSessionsDelegate

Parameters

delegate

The delegate object to use instead of the default.

Discussion

See RedisSessionsDelegate.