10 #ifndef BOOST_BEAST_HTTP_WRITE_HPP 11 #define BOOST_BEAST_HTTP_WRITE_HPP 26 #include <type_traits> 68 class SyncWriteStream,
69 bool isRequest,
class Body,
class Fields>
72 SyncWriteStream& stream,
73 serializer<isRequest, Body, Fields>& sr);
110 class SyncWriteStream,
111 bool isRequest,
class Body,
class Fields>
114 SyncWriteStream& stream,
115 serializer<isRequest, Body, Fields>& sr,
166 class AsyncWriteStream,
167 bool isRequest,
class Body,
class Fields,
169 #if BOOST_BEAST_DOXYGEN 177 AsyncWriteStream& stream,
178 serializer<isRequest, Body, Fields>& sr,
179 WriteHandler&& handler);
211 class SyncWriteStream,
212 bool isRequest,
class Body,
class Fields>
215 SyncWriteStream& stream,
216 serializer<isRequest, Body, Fields>& sr);
246 class SyncWriteStream,
247 bool isRequest,
class Body,
class Fields>
250 SyncWriteStream& stream,
251 serializer<isRequest, Body, Fields>& sr,
295 class AsyncWriteStream,
296 bool isRequest,
class Body,
class Fields,
298 #if BOOST_BEAST_DOXYGEN 306 AsyncWriteStream& stream,
307 serializer<isRequest, Body, Fields>& sr,
308 WriteHandler&& handler);
337 class SyncWriteStream,
338 bool isRequest,
class Body,
class Fields>
341 SyncWriteStream& stream,
342 serializer<isRequest, Body, Fields>& sr);
369 class SyncWriteStream,
370 bool isRequest,
class Body,
class Fields>
373 SyncWriteStream& stream,
374 serializer<isRequest, Body, Fields>& sr,
415 class AsyncWriteStream,
416 bool isRequest,
class Body,
class Fields,
418 #if BOOST_BEAST_DOXYGEN 426 AsyncWriteStream& stream,
427 serializer<isRequest, Body, Fields>& sr,
428 WriteHandler&& handler);
459 class SyncWriteStream,
460 bool isRequest,
class Body,
class Fields>
463 SyncWriteStream& stream,
464 message<isRequest, Body, Fields>
const& msg);
493 class SyncWriteStream,
494 bool isRequest,
class Body,
class Fields>
497 SyncWriteStream& stream,
498 message<isRequest, Body, Fields>
const& msg,
542 class AsyncWriteStream,
543 bool isRequest,
class Body,
class Fields,
549 AsyncWriteStream& stream,
550 message<isRequest, Body, Fields>& msg,
551 WriteHandler&& handler);
564 template<
bool isRequest,
class Fields>
567 header<isRequest, Fields>
const& msg);
581 template<
bool isRequest,
class Body,
class Fields>
584 message<isRequest, Body, Fields>
const& msg);
StreamHandler WriteHandler
Definition: type_traits.hpp:357
std::ostream & operator<<(std::ostream &os, message< isRequest, basic_file_body< File >, Fields > const &msg)=delete
Definition: async_result.hpp:20
detail::ostream_helper< DynamicBuffer, char, std::char_traits< char >, detail::basic_streambuf_movable::value > ostream(DynamicBuffer &buffer)
Definition: ostream.hpp:91
std::size_t write(SyncWriteStream &stream, serializer< isRequest, Body, Fields > &sr)
Definition: write.ipp:684
std::size_t write_header(SyncWriteStream &stream, serializer< isRequest, Body, Fields > &sr)
Definition: write.ipp:590
async_return_type< WriteHandler, void(error_code, std::size_t)> async_write(AsyncWriteStream &stream, serializer< isRequest, Body, Fields > &sr, WriteHandler &&handler)
Definition: write.ipp:730
Definition: beast_common.hpp:6
std::size_t write_some(SyncWriteStream &stream, serializer< isRequest, Body, Fields > &sr)
Definition: write.ipp:525
boost::system::error_code error_code
The type of error code used by the library.
Definition: error.hpp:21
async_return_type< WriteHandler, void(error_code, std::size_t)> async_write_some(AsyncWriteStream &stream, serializer< isRequest, Body, Fields > &sr, WriteHandler &&handler)
Definition: write.ipp:568
typename beast::async_result< typename std::decay< CompletionToken >::type, Signature >::return_type async_return_type
Definition: async_result.hpp:204
async_return_type< WriteHandler, void(error_code, std::size_t)> async_write_header(AsyncWriteStream &stream, serializer< isRequest, Body, Fields > &sr, WriteHandler &&handler)
Definition: write.ipp:652