From a0e9a41e2145b5b1a311f972565aceefe84748a5 Mon Sep 17 00:00:00 2001 From: jvelilla Date: Mon, 6 Apr 2015 17:05:35 -0300 Subject: [PATCH] Added descriptions and feature comments. --- .../src/implementation/wgi_httpd_request_handler.e | 9 +++++++-- .../implementation/wgi_httpd_request_handler_factory.e | 3 ++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/library/server/ewsgi/connectors/standalone/src/implementation/wgi_httpd_request_handler.e b/library/server/ewsgi/connectors/standalone/src/implementation/wgi_httpd_request_handler.e index c9644fec..0ddecd18 100644 --- a/library/server/ewsgi/connectors/standalone/src/implementation/wgi_httpd_request_handler.e +++ b/library/server/ewsgi/connectors/standalone/src/implementation/wgi_httpd_request_handler.e @@ -1,6 +1,8 @@ note - description: "Summary description for {WGI_HTTPD_REQUEST_HANDLER}." - author: "" + description: "[ + WGI implementation of HTTPD_REQUEST_HANDLER, will process the incoming connection + and extract information on the request and the server + ]" date: "$Date$" revision: "$Revision$" @@ -34,8 +36,10 @@ feature {NONE} -- Initialization feature -- Access connector: detachable separate WGI_STANDALONE_CONNECTOR [G] + -- httpd solution. base: detachable IMMUTABLE_STRING_8 + -- Root url base. do if attached connector as conn then if attached connector_base (conn) as l_base then @@ -47,6 +51,7 @@ feature -- Access feature -- SCOOP helpers connector_base (conn: separate WGI_STANDALONE_CONNECTOR [G]): detachable separate READABLE_STRING_8 + -- Rool url based from a connector `conn'. do Result := conn.base end diff --git a/library/server/ewsgi/connectors/standalone/src/implementation/wgi_httpd_request_handler_factory.e b/library/server/ewsgi/connectors/standalone/src/implementation/wgi_httpd_request_handler_factory.e index 2570bc00..b853eb10 100644 --- a/library/server/ewsgi/connectors/standalone/src/implementation/wgi_httpd_request_handler_factory.e +++ b/library/server/ewsgi/connectors/standalone/src/implementation/wgi_httpd_request_handler_factory.e @@ -1,6 +1,5 @@ note description: "Summary description for {WGI_HTTPD_REQUEST_HANDLER_FACTORY}." - author: "" date: "$Date$" revision: "$Revision$" @@ -13,10 +12,12 @@ inherit feature -- Access connector: detachable separate WGI_STANDALONE_CONNECTOR [G] + -- httpd solution. feature -- Element change set_connector (conn: like connector) + -- Set `connector' with `conn'. do connector := conn end