Hey guys,

I'm really getting into the cpprestsdk. Now, one thing I need to build for this to be successful is a router.

Their `http_req` class has a very nice `relative_uri` function which I can use and I know how to split a string by a special character so I was going to internally implement this as something like a prefix tree.

Regardless of that, what's a good way of initially constructing this router? Ideally I'd like construction to handle the mapping between a URI and a dedicated handler, in this case a handler is just a simple callable object that takes a http request.

Should I use a vector of pairs of uris and callables? Is it okay to force the user to basically type:
Code:
"/api/users/something",
"/api/users/something_else",
...