11 #ifndef ASIO_SSL_DETAIL_WRITE_OP_HPP 12 #define ASIO_SSL_DETAIL_WRITE_OP_HPP 14 #if defined(_MSC_VER) && (_MSC_VER >= 1200) 16 #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 20 #if !defined(ASIO_ENABLE_OLD_SSL) 23 #endif // !defined(ASIO_ENABLE_OLD_SSL) 31 #if !defined(ASIO_ENABLE_OLD_SSL) 33 template <
typename ConstBufferSequence>
44 std::size_t& bytes_transferred)
const 48 ConstBufferSequence>::first(buffers_);
50 return eng.
write(buffer, ec, bytes_transferred);
53 template <
typename Handler>
56 const std::size_t& bytes_transferred)
const 58 handler(ec, bytes_transferred);
62 ConstBufferSequence buffers_;
65 #endif // !defined(ASIO_ENABLE_OLD_SSL) 73 #endif // ASIO_SSL_DETAIL_WRITE_OP_HPP
Holds a buffer that cannot be modified.
mutable_buffers_1 buffer(const mutable_buffer &b)
Create a new modifiable buffer from an existing buffer.
write_op(const ConstBufferSequence &buffers)
const MutableBufferSequence & buffers
engine::want operator()(engine &eng, asio::error_code &ec, std::size_t &bytes_transferred) const
Class to represent an error code value.
void call_handler(Handler &handler, const asio::error_code &ec, const std::size_t &bytes_transferred) const
ASIO_DECL want write(const asio::const_buffer &data, asio::error_code &ec, std::size_t &bytes_transferred)