]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/modules/httpd.h
Fix various documentation comments.
[user/henk/code/inspircd.git] / include / modules / httpd.h
index e1921cdb486f5ee08c344b5b965c8c76e78c7011..ccb71595c5d5ab8d2c3222c4f7712f2381fdcb36 100644 (file)
@@ -1,11 +1,14 @@
 /*
  * InspIRCd -- Internet Relay Chat Daemon
  *
+ *   Copyright (C) 2019 linuxdaemon <linuxdaemon.irc@gmail.com>
+ *   Copyright (C) 2013, 2015 Attila Molnar <attilamolnar@hush.com>
+ *   Copyright (C) 2013 Sadie Powell <sadie@witchery.services>
+ *   Copyright (C) 2012 Robby <robby@chatbelgie.be>
  *   Copyright (C) 2009 Daniel De Graaf <danieldg@inspircd.org>
- *   Copyright (C) 2008 Pippijn van Steenhoven <pip88nl@gmail.com>
- *   Copyright (C) 2007 John Brooks <john.brooks@dereferenced.net>
+ *   Copyright (C) 2007 John Brooks <special@inspircd.org>
  *   Copyright (C) 2007 Dennis Friis <peavey@inspircd.org>
- *   Copyright (C) 2006 Craig Edwards <craigedwards@brainbox.cc>
+ *   Copyright (C) 2006, 2008, 2010 Craig Edwards <brain@inspircd.org>
  *
  * This file is part of InspIRCd.  InspIRCd is free software: you can
  * redistribute it and/or modify it under the terms of the GNU General Public
@@ -183,17 +186,18 @@ class HTTPRequest
        /** Initialize HTTPRequest.
         * This constructor is called by m_httpd.so to initialize the class.
         * @param request_type The request type, e.g. GET, POST, HEAD
+        * @param parsed_uri The URI which was requested by the client.
         * @param hdr The headers sent with the request
-        * @param opaque An opaque pointer used internally by m_httpd, which you must pass back to the module in your reply.
+        * @param socket The server socket which this request came in via.
         * @param ip The IP address making the web request.
         * @param pdata The post data (content after headers) received with the request, up to Content-Length in size
         */
-       HTTPRequest(const std::string& request_type, const HTTPRequestURI& Parseduri,
-               HTTPHeaders* hdr, HttpServerSocket* socket, const std::string &ip, const std::string &pdata)
+       HTTPRequest(const std::string& request_type, const HTTPRequestURI& parsed_uri, HTTPHeaders* hdr,
+                       HttpServerSocket* socket, const std::string& ip, const std::string& pdata)
                : type(request_type)
                , ipaddr(ip)
                , postdata(pdata)
-               , parseduri(Parseduri)
+               , parseduri(parsed_uri)
                , headers(hdr)
                , sock(socket)
        {