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

Method send_response

example/http/server/flex/http_server_flex.cpp:300–313  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

298 }
299
300 void
301 send_response(http::message_generator&& msg)
302 {
303 bool keep_alive = msg.keep_alive();
304
305 // Write the response
306 beast::async_write(
307 derived().stream(),
308 std::move(msg),
309 beast::bind_front_handler(
310 &session::on_write,
311 derived().shared_from_this(),
312 keep_alive));
313 }
314
315 void
316 on_write(

Callers

nothing calls this directly

Calls 4

moveClass · 0.85
bind_front_handlerFunction · 0.85
async_writeFunction · 0.50
keep_aliveMethod · 0.45

Tested by

no test coverage detected