Main Site Documentation

Gadgeteer.WebServer WebEvent URL paths


When you register a URL path with a WebEvent, is that path string matched exactly to the incoming request, or does it perform “starts with” string match so that multiple longer paths can be handled by the same WebEvent handler?


     var webEvent = WebServer.SetupWebEvent("");

Clearly, this should handle an http request for /test/.

Does this webEvent also get called for an http request for /test/part1/
and /test/part2/