From 1e0e97fe7b654ecd7f5315d129df6e57f3e63371 Mon Sep 17 00:00:00 2001 From: m0gg Date: Fri, 1 Dec 2006 10:55:59 +0000 Subject: Fix nanoHTTP HTTPS client (still needs port in URL) --- nanohttp/nanohttp-admin.h | 32 ++++++++++++++++++++++++++++++-- 1 file changed, 30 insertions(+), 2 deletions(-) (limited to 'nanohttp/nanohttp-admin.h') 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 -- cgit v1.1-32-gdbae