Function getRedisClient

Synopsis

#include <lib/inc/drogon/HttpAppFramework.h>

virtual nosql::RedisClientPtr getRedisClient(const std::string &name="default")=0

Description

Get a redis client by name.

Note
This method must be called after the framework has been run.

Source

Line 1147 in lib/inc/drogon/HttpAppFramework.h.






Add Discussion as Guest

Log in