summaryrefslogtreecommitdiffstats
path: root/nanohttp/nanohttp-admin.h
diff options
context:
space:
mode:
Diffstat (limited to 'nanohttp/nanohttp-admin.h')
-rw-r--r--nanohttp/nanohttp-admin.h32
1 files changed, 30 insertions, 2 deletions
diff --git a/nanohttp/nanohttp-admin.h b/nanohttp/nanohttp-admin.h
index 80e4c8e..64550e9 100644
--- a/nanohttp/nanohttp-admin.h
+++ b/nanohttp/nanohttp-admin.h
@@ -1,5 +1,5 @@
/******************************************************************
- * $Id: nanohttp-admin.h,v 1.2 2006/11/24 17:28:07 m0gg Exp $
+ * $Id: nanohttp-admin.h,v 1.3 2006/12/01 10:56:00 m0gg Exp $
*
* CSOAP Project: A SOAP client/server library in C
* Copyright (C) 2003 Ferhat Ayaz
@@ -26,7 +26,10 @@
/**
*
- * Commandline argument to enabled the nanoHTTP admin interface.
+ * Commandline argument to enabled the nanoHTTP admin interface. This service
+ * will be reachable via the NHTTPD_ADMIN_CONTEXT.
+ *
+ * @see NHTTPD_ADMIN_CONTEXT
*
*/
#define NHTTPD_ARG_ENABLE_ADMIN "-NHTTPDadmin"
@@ -35,10 +38,35 @@
*
* Context of the nanoHTTP admin interface.
*
+ * Example query:
+ *
+ * http://localhost:10000/nhttp
+ *
+ * @see httpd_register
+ *
*/
#define NHTTPD_ADMIN_CONTEXT "/nhttp"
+/**
+ *
+ * Query parameter for services.
+ *
+ * Example query:
+ *
+ * http://localhost:10000/nhttp?services=list
+ *
+ */
#define NHTTPD_ADMIN_QUERY_SERVICES "services"
+
+/**
+ *
+ * Parameter to query service statistics.
+ *
+ * Example query:
+ *
+ * http://localhost:10000/nhttp?statistics=SERVICE_CONTEXT
+ *
+ */
#define NHTTPD_ADMIN_QUERY_STATISTICS "statistics"
#ifdef __cplusplus