|
@@ -372,7 +372,7 @@ class CIVETWEB_API CivetServer
|
|
|
* getHeader(struct mg_connection *conn, const std::string &headerName)
|
|
|
* @param conn - the connection information
|
|
|
* @param headerName - header name to get the value from
|
|
|
- * @returns a char array whcih contains the header value as string
|
|
|
+ * @returns a char array which contains the header value as string
|
|
|
*/
|
|
|
static const char *getHeader(struct mg_connection *conn,
|
|
|
const std::string &headerName);
|
|
@@ -380,8 +380,8 @@ class CIVETWEB_API CivetServer
|
|
|
/**
|
|
|
* getParam(struct mg_connection *conn, const char *, std::string &, size_t)
|
|
|
*
|
|
|
- * Returns a query paramter contained in the supplied buffer. The
|
|
|
- * occurance value is a zero-based index of a particular key name. This
|
|
|
+ * Returns a query which contained in the supplied buffer. The
|
|
|
+ * occurrence value is a zero-based index of a particular key name. This
|
|
|
* should not be confused with the index over all of the keys. Note that
|
|
|
*this
|
|
|
* function assumes that parameters are sent as text in http query string
|
|
@@ -408,8 +408,8 @@ class CIVETWEB_API CivetServer
|
|
|
/**
|
|
|
* getParam(const std::string &, const char *, std::string &, size_t)
|
|
|
*
|
|
|
- * Returns a query paramter contained in the supplied buffer. The
|
|
|
- * occurance value is a zero-based index of a particular key name. This
|
|
|
+ * Returns a query parameter contained in the supplied buffer. The
|
|
|
+ * occurrence value is a zero-based index of a particular key name. This
|
|
|
* should not be confused with the index over all of the keys.
|
|
|
*
|
|
|
* @param data - the query string (text)
|
|
@@ -431,8 +431,8 @@ class CIVETWEB_API CivetServer
|
|
|
/**
|
|
|
* getParam(const char *, size_t, const char *, std::string &, size_t)
|
|
|
*
|
|
|
- * Returns a query paramter contained in the supplied buffer. The
|
|
|
- * occurance value is a zero-based index of a particular key name. This
|
|
|
+ * Returns a query parameter contained in the supplied buffer. The
|
|
|
+ * occurrence value is a zero-based index of a particular key name. This
|
|
|
* should not be confused with the index over all of the keys.
|
|
|
*
|
|
|
* @param data the - query string (text)
|
|
@@ -457,7 +457,7 @@ class CIVETWEB_API CivetServer
|
|
|
* This uses string to store post data to handle big posts.
|
|
|
*
|
|
|
* @param conn - connection from which post data will be read
|
|
|
- * @return Post data (empty if not avaliable).
|
|
|
+ * @return Post data (empty if not available).
|
|
|
*/
|
|
|
static std::string getPostData(struct mg_connection *conn);
|
|
|
|
|
@@ -575,7 +575,7 @@ class CIVETWEB_API CivetServer
|
|
|
/**
|
|
|
* requestHandler(struct mg_connection *, void *cbdata)
|
|
|
*
|
|
|
- * Handles the incomming request.
|
|
|
+ * Handles the incoming request.
|
|
|
*
|
|
|
* @param conn - the connection information
|
|
|
* @param cbdata - pointer to the CivetHandler instance.
|