Boost.Redis

    • Introduction
    • Requests and responses
    • Server pushes
    • Cancellation and timeouts
    • Serializing and parsing into custom types
    • Authentication
    • Logging
    • Sentinel
    • Echo server benchmark
    • Comparison with other Redis clients
    • Examples
    • Reference
    • Acknowledgements
    • Changelog
  • boost::redis::push_parser::begin
arrow_upward

boost::redis::push_parser::begin

Returns an iterator to the first parsed Pub/Sub message.

Synopsis

Declared in <boost/redis/push_parser.hpp>

iterator
begin() noexcept;

Description

If the node range contains no valid message or pmessage pushes, returns an iterator equal to end.

Exception safety

No‐throw guarantee.

Return Value

An iterator to the first push_view, or past‐the‐end if none.

Created with MrDocs