Poco C++ HTTPResponse how can i get the entire header map of a response? -


so here class need cache entire header map. figured should extract how.

how can this, need iterate them this, or can them @ once?

i intend store header map in cache :

       lrupersistentcache<string, pair<headermap, string > > *clientcache; 

you can create namevaluecollection (it's map-like httpresponse's parent) httpresponse:

httpresponse response; // ... namevaluecollection nvc(response); lrupersistentcache<string, namevaluecollection> clientcache(100); clientcache.add("myresponse", nvc); // ... 

Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -