summaryrefslogtreecommitdiffstats
path: root/nanohttp/nanohttp-admin.h
diff options
context:
space:
mode:
authorGravatar m0gg2006-12-01 10:55:59 +0000
committerGravatar m0gg2006-12-01 10:55:59 +0000
commit1e0e97fe7b654ecd7f5315d129df6e57f3e63371 (patch)
treedce178f3f876c04f4e5b1385f388c81fc1b6994c /nanohttp/nanohttp-admin.h
parent77ce98ff186515cce217814886d9d5b899380c7b (diff)
downloadcsoap-1e0e97fe7b654ecd7f5315d129df6e57f3e63371.tar.gz
csoap-1e0e97fe7b654ecd7f5315d129df6e57f3e63371.tar.bz2
Fix nanoHTTP HTTPS client (still needs port in URL)
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