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

Method on_handshake

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

Source from the content-addressed store, hash-verified

439 }
440
441 void
442 on_handshake(
443 beast::error_code ec,
444 std::size_t bytes_used)
445 {
446 if(ec)
447 return fail(ec, "handshake");
448
449 // Consume the portion of the buffer used by the handshake
450 buffer_.consume(bytes_used);
451
452 do_read();
453 }
454
455 void
456 do_eof()

Callers

nothing calls this directly

Calls 2

failFunction · 0.70
consumeMethod · 0.45

Tested by

no test coverage detected