Boost.Redis 1.4.2
A redis client library
|
Functions | |
template<class T > | |
auto | boost::redis::adapter::adapt2 (T &t=redis::ignore) noexcept |
Adapts user data to read operations. More... | |
template<class AsyncWriteStream , class CompletionToken = asio::default_completion_token_t<typename AsyncWriteStream::executor_type>> | |
auto | boost::redis::detail::async_write (AsyncWriteStream &stream, request const &req, CompletionToken &&token=asio::default_completion_token_t< typename AsyncWriteStream::executor_type >{}) |
Writes a request asynchronously. More... | |
template<class SyncWriteStream > | |
auto | boost::redis::detail::write (SyncWriteStream &stream, request const &req) |
Writes a request synchronously. More... | |
This page contains the documentation of the Aedis low-level API.
|
noexcept |
Adapts user data to read operations.
STL containers, resp3::response
and built-in types are supported and can be used in conjunction with std::optional<T>
.
Example usage:
For a transaction
auto boost::redis::detail::async_write | ( | AsyncWriteStream & | stream, |
request const & | req, | ||
CompletionToken && | token = asio::default_completion_token_t<typename AsyncWriteStream::executor_type>{} |
||
) |