asio C++ library

PrevUpHomeNext

async_read_until

Start an asynchronous operation to read data into a dynamic buffer sequence, or into a streambuf, until it contains a delimiter, matches a regular expression, or a function object indicates a match.

template<
    typename AsyncReadStream,
    typename DynamicBufferSequence,
    typename ReadHandler>
void-or-deduced async_read_until(
    AsyncReadStream & s,
    DynamicBufferSequence && buffers,
    char delim,
    ReadHandler && handler);
  » more...

template<
    typename AsyncReadStream,
    typename DynamicBufferSequence,
    typename ReadHandler>
void-or-deduced async_read_until(
    AsyncReadStream & s,
    DynamicBufferSequence && buffers,
    const std::string & delim,
    ReadHandler && handler);
  » more...

template<
    typename AsyncReadStream,
    typename DynamicBufferSequence,
    typename ReadHandler>
void-or-deduced async_read_until(
    AsyncReadStream & s,
    DynamicBufferSequence && buffers,
    const boost::regex & expr,
    ReadHandler && handler);
  » more...

template<
    typename AsyncReadStream,
    typename DynamicBufferSequence,
    typename MatchCondition,
    typename ReadHandler>
void-or-deduced async_read_until(
    AsyncReadStream & s,
    DynamicBufferSequence && buffers,
    MatchCondition match_condition,
    ReadHandler && handler,
    typename enable_if< is_match_condition< MatchCondition >::value >::type *  = 0);
  » more...

template<
    typename AsyncReadStream,
    typename Allocator,
    typename ReadHandler>
void-or-deduced async_read_until(
    AsyncReadStream & s,
    asio::basic_streambuf< Allocator > & b,
    char delim,
    ReadHandler && handler);
  » more...

template<
    typename AsyncReadStream,
    typename Allocator,
    typename ReadHandler>
void-or-deduced async_read_until(
    AsyncReadStream & s,
    asio::basic_streambuf< Allocator > & b,
    const std::string & delim,
    ReadHandler && handler);
  » more...

template<
    typename AsyncReadStream,
    typename Allocator,
    typename ReadHandler>
void-or-deduced async_read_until(
    AsyncReadStream & s,
    asio::basic_streambuf< Allocator > & b,
    const boost::regex & expr,
    ReadHandler && handler);
  » more...

template<
    typename AsyncReadStream,
    typename Allocator,
    typename MatchCondition,
    typename ReadHandler>
void-or-deduced async_read_until(
    AsyncReadStream & s,
    asio::basic_streambuf< Allocator > & b,
    MatchCondition match_condition,
    ReadHandler && handler,
    typename enable_if< is_match_condition< MatchCondition >::value >::type *  = 0);
  » more...
Requirements

Header: asio/read_until.hpp

Convenience header: asio.hpp


PrevUpHomeNext