MCPcopy Create free account
hub / github.com/ArduPilot/ArduRemoteID / canHandle

Method canHandle

RemoteIDModule/webinterface.cpp:74–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72class AJAX_Handler : public RequestHandler
73{
74 bool canHandle(HTTPMethod method, String uri) {
75 return uri == "/ajax/status.json";
76 }
77
78 bool handle(WebServer& server, HTTPMethod requestMethod, String requestUri) {
79 if (requestUri != "/ajax/status.json") {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected