MCPcopy Create free account
hub / github.com/boostorg/beast / do_async_write

Method do_async_write

test/beast/http/write.cpp:706–722  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

704 class Stream,
705 bool isRequest, class Body, class Fields>
706 void
707 do_async_write(
708 Stream& stream,
709 message<isRequest, Body, Fields> const& m,
710 error_code& ec,
711 yield_context yield)
712 {
713 serializer<isRequest, Body, Fields> sr{m};
714 for(;;)
715 {
716 async_write_some(stream, sr, yield[ec]);
717 if(ec)
718 return;
719 if(sr.is_done())
720 break;
721 }
722 }
723
724 template<class Body>
725 void

Callers

nothing calls this directly

Calls 2

async_write_someFunction · 0.50
is_doneMethod · 0.45

Tested by

no test coverage detected