# HG changeset patch # User Zoltan K # Date 1271176196 -7200 # Node ID 2ae1b144cb1143741f6c089c83077a10c4182a20 # Parent b30c639061330ab9f9af3f10fae8b53db88d4dd5 Added getAsMap method in IHeader diff -r b30c63906133 -r 2ae1b144cb11 include/http/IHeader.hpp --- a/include/http/IHeader.hpp Mon Apr 12 22:03:36 2010 +0200 +++ b/include/http/IHeader.hpp Tue Apr 13 18:29:56 2010 +0200 @@ -65,6 +65,15 @@ * @param [in] k The key to delete. */ virtual void deleteKey(const Key & k) = 0; + + /** + * @brief Get http headers in an std::map + * + * @return A std::map of @ref Key / @ref Value containing + * the http headers. + */ + virtual const std::map & getAsMap(void) const = 0; + }; }; };