Structurevapor.redis 4.11.0Redis->Vapor
Sessions
Redis+Sessions.swift:55struct Sessions
Other members in extension
View members
Hide members
This section is hidden by default because it contains too many (16) members.
Instance members
var configuration: RedisConfiguration?
The Redis configuration to use to communicate with a Redis instance.
var eventLoop: EventLoop
let id: RedisID
var sessions: Sessions
func logging(to: Logger
) -> RedisClient func psubscribe(to: [String], messageReceiver: @escaping RedisSubscriptionMessageReceiver, onSubscribe: RedisSubscriptionChangeHandler?, onUnsubscribe: RedisSubscriptionChangeHandler?
) -> EventLoopFuture<Void> func psubscribe(to: [String], messageReceiver: @escaping RedisSubscriptionMessageReceiver, onSubscribe: RedisSubscriptionChangeHandler?, onUnsubscribe: RedisSubscriptionChangeHandler?
) async throws func punsubscribe(from: [String]
) -> EventLoopFuture<Void> func punsubscribe(from: [String]
) async throws func send(command: String, with: [RESPValue]
) -> EventLoopFuture<RESPValue> func send(command: String, with: [RESPValue]
) async throws -> RESPValue func subscribe(to: [RedisChannelName], messageReceiver: @escaping RedisSubscriptionMessageReceiver, onSubscribe: RedisSubscriptionChangeHandler?, onUnsubscribe: RedisSubscriptionChangeHandler?
) -> EventLoopFuture<Void> func subscribe(to: [RedisChannelName], messageReceiver: @escaping RedisSubscriptionMessageReceiver, onSubscribe: RedisSubscriptionChangeHandler?, onUnsubscribe: RedisSubscriptionChangeHandler?
) async throws func unsubscribe(from: [RedisChannelName]
) -> EventLoopFuture<Void> func unsubscribe(from: [RedisChannelName]
) async throws func withBorrowedConnection<Result>(@escaping (RedisClient) -> EventLoopFuture<Result>
) -> EventLoopFuture<Result> Provides temporary exclusive access to a single Redis client.
Citizens in Redis
Instance members
func makeDriver(
) -> some SessionDriver Factory method that creates a new Redis Session driver with the default delegate.
func makeDriver<Delegate>(delegate: Delegate
) -> some SessionDriver Factory method that creates a new Redis Sessions driver with the provided delegate.