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

Method do_write

test/beast/http/write.cpp:686–701  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

684 class Stream,
685 bool isRequest, class Body, class Fields>
686 void
687 do_write(
688 Stream& stream,
689 message<isRequest, Body, Fields> const& m,
690 error_code& ec)
691 {
692 serializer<isRequest, Body, Fields> sr{m};
693 for(;;)
694 {
695 write_some(stream, sr, ec);
696 if(ec)
697 return;
698 if(sr.is_done())
699 break;
700 }
701 }
702
703 template<
704 class Stream,

Callers

nothing calls this directly

Calls 2

write_someFunction · 0.50
is_doneMethod · 0.45

Tested by

no test coverage detected