MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / OnNewHttpRequest

Method OnNewHttpRequest

cpp/webdriver-server/server.cc:171–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169}
170
171int Server::OnNewHttpRequest(struct mg_connection* conn) {
172 mg_context* context = mg_get_context(conn);
173 Server* current_server = reinterpret_cast<Server*>(mg_get_user_data(context));
174 const mg_request_info* request_info = mg_get_request_info(conn);
175 int handler_result_code = current_server->ProcessRequest(conn, request_info);
176 return handler_result_code;
177}
178
179bool Server::Start() {
180 LOG(TRACE) << "Entering Server::Start";

Callers

nothing calls this directly

Calls 1

ProcessRequestMethod · 0.80

Tested by

no test coverage detected