From c4b35b30b99898e9ef1ae44655011b3575d634a3 Mon Sep 17 00:00:00 2001 From: Benoit Foucher Date: Mon, 16 Feb 2015 12:44:31 +0100 Subject: Fixed ICE-6225 - Added headers attribute to WSConnectionInfo --- cpp/src/Ice/HttpParser.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'cpp/src/Ice/HttpParser.h') diff --git a/cpp/src/Ice/HttpParser.h b/cpp/src/Ice/HttpParser.h index d1141a719b7..65500771fcd 100644 --- a/cpp/src/Ice/HttpParser.h +++ b/cpp/src/Ice/HttpParser.h @@ -19,7 +19,7 @@ namespace IceInternal std::vector calcSHA1(const std::vector&); -typedef std::map HeaderFields; +typedef std::map > HeaderFields; class WebSocketException { @@ -58,9 +58,7 @@ public: bool getHeader(const std::string&, std::string&, bool) const; - typedef std::map HeaderMap; - - const HeaderMap& headers() const; + std::map getHeaders() const; private: @@ -69,7 +67,7 @@ private: std::string _method; std::string _uri; - HeaderMap _headers; + HeaderFields _headers; std::string _headerName; int _versionMajor; -- cgit v1.2.3