Skip to content

Instance Method

set(_:toJSON:jsonEncoder:)

Sets key to an encodable item.
func set<E>(_ key: RedisKey, toJSON entity: E, jsonEncoder: JSONEncoder = JSONEncoder()) -> EventLoopFuture<Void> where E : Encodable