boost::redis::request::psubscribe

Appends a PSUBSCRIBE command to the end of the request.

Synopses

Declared in <boost/redis/request.hpp>

Appends a PSUBSCRIBE command to the end of the request.

void
psubscribe(std::initializer_list<std::string_view> patterns);

Appends a PSUBSCRIBE command to the end of the request.

template<class ForwardIt>
void
psubscribe(
    ForwardIt patterns_begin,
    ForwardIt patterns_end);

Appends a PSUBSCRIBE command to the end of the request.

template<class Range>
void
psubscribe(
    Range&& patterns,
    decltype(std::cbegin(patterns))* = nullptr);

Created with MrDocs