summaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/taler-merchant-httpd.h')
-rw-r--r--src/backend/taler-merchant-httpd.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/backend/taler-merchant-httpd.h b/src/backend/taler-merchant-httpd.h
index ceb7dfe2..7e1090d3 100644
--- a/src/backend/taler-merchant-httpd.h
+++ b/src/backend/taler-merchant-httpd.h
@@ -151,7 +151,11 @@ struct TMH_RequestHandler
{
/**
- * URL prefix the handler is for.
+ * URL prefix the handler is for, includes the '/',
+ * so "/orders" or "/products". Does *not* include
+ * "/private", that is controlled by the array in which
+ * the handler is defined. Must not contain any
+ * '/' except for the leading '/'.
*/
const char *url_prefix;
@@ -168,7 +172,8 @@ struct TMH_RequestHandler
bool skip_instance;
/**
- * URL suffix the handler is for.
+ * URL suffix the handler is for, excludes the '/',
+ * so "pay" or "claim", not "/pay".
*/
const char *url_suffix;