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

Method do_eof

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

Source from the content-addressed store, hash-verified

377 }
378
379 void
380 do_eof()
381 {
382 // Send a TCP shutdown
383 beast::error_code ec;
384 stream_.socket().shutdown(tcp::socket::shutdown_send, ec);
385
386 // At this point the connection is closed gracefully
387 }
388};
389
390// Handles an SSL HTTP connection

Callers

nothing calls this directly

Calls 1

shutdownMethod · 0.80

Tested by

no test coverage detected