Main Site Documentation

Gadgeteer.WebServer WebEvent URL paths


#1

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?

Example:

     var webEvent = WebServer.SetupWebEvent("http://192.168.2.101/test/");

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/
?

Thanks,
-Danny