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

Method on_accept

example/websocket/server/async/websocket_server_async.cpp:96–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94 }
95
96 void
97 on_accept(beast::error_code ec)
98 {
99 if(ec)
100 return fail(ec, "accept");
101
102 // Read a message
103 do_read();
104 }
105
106 void
107 do_read()

Callers

nothing calls this directly

Calls 1

failFunction · 0.70

Tested by

no test coverage detected