1
0
mirror of https://github.com/lammertb/libhttp.git synced 2025-12-22 04:02:04 +03:00

Remove misleading comment in CivetServer.h

See issue #92
This commit is contained in:
bel
2015-04-23 21:48:22 +02:00
parent 4c12d0cafc
commit 0a1f99c6bb
2 changed files with 23 additions and 11 deletions

View File

@@ -139,11 +139,14 @@ public:
* URI's are ordered and prefix (REST) URI's are supported.
*
* @param uri - URI to match.
* @param handler - handler instance to use. This will be free'ed
* when the server closes and instances cannot be reused.
* @param handler - handler instance to use.
*/
void addHandler(const std::string &uri, CivetHandler *handler);
void addHandler(const std::string &uri, CivetHandler &handler) {
addHandler(uri, &handler);
}
/**
* removeHandler(const std::string &)
*
@@ -160,7 +163,7 @@ public:
*
* @return A vector of ports
*/
std::vector<int> getListeningPorts();
/**