|
|
void *Ns_UrlSpecificGet(
char *handle,
char *method,
char *url,
int id
);
The Ns_UrlSpecificGet function retrieves the best match that it can find. For instance, suppose you had previously registered a handle/method/url/id combination of {myserver, GET, /, 1} and {myserver, GET, /inventory, 1}. The following call, then, would match the data registered at {myserver, GET, /inventory, 1}:
Ns_UrlSpecificGet("myserver", "GET", "/inventory/RJ45", 1)
See the example for Ns_UrlSpecificAlloc.