boost::redis::request::subscribe
Appends a SUBSCRIBE command to the end of the request.
Synopses
Declared in <boost/redis/request.hpp>
Appends a SUBSCRIBE command to the end of the request.
void
subscribe(std::initializer_list<std::string_view> channels);
Appends a SUBSCRIBE command to the end of the request.
template<class ForwardIt>
void
subscribe(
ForwardIt channels_begin,
ForwardIt channels_end);
Appends a SUBSCRIBE command to the end of the request.
template<class Range>
void
subscribe(
Range&& channels,
decltype(std::cbegin(channels))* = nullptr);
Created with MrDocs