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