Commit e9784d61418a0e47eb321af1f5320b1fb1b9c9b4

Authored by Moritz W
1 parent 369ed5d2

Fix typo and add documentation about class IHttpHandler

hueplusplus/include/IHttpHandler.h
... ... @@ -25,6 +25,7 @@
25 25  
26 26 #include "json/json.h"
27 27  
  28 +//! Abstract class for classes that handle http requests and multicast requests
28 29 class IHttpHandler
29 30 {
30 31 public:
... ... @@ -41,7 +42,7 @@ public:
41 42 //! \return String containing the response of the host
42 43 virtual std::string send(const std::string &msg, const std::string &adr, int port=80) const = 0;
43 44  
44   - //! \brief Virtual Function that should given message to a specified host and return the body of the response.
  45 + //! \brief Virtual function that should given message to a specified host and return the body of the response.
45 46 //!
46 47 //! It should return a string containing only the body of the response of the host.
47 48 //! Note if no body is found a runtime error is thrown!
... ...