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

Method testIssue655

test/beast/http/write.cpp:837–851  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

835 }
836
837 void
838 testIssue655()
839 {
840 net::io_context ioc;
841 test::stream ts{ioc}, tr{ioc};
842 ts.connect(tr);
843 response<empty_body> res;
844 res.chunked(true);
845 response_serializer<empty_body> sr{res};
846 async_write_header(ts, sr,
847 [&](error_code const&, std::size_t)
848 {
849 });
850 ioc.run();
851 }
852
853 struct copyable_handler
854 {

Callers

nothing calls this directly

Calls 3

async_write_headerFunction · 0.85
chunkedMethod · 0.80
runMethod · 0.45

Tested by

no test coverage detected