Quantcast
Channel: WE MOVED to github.com/microsoft/cpprestsdk. This site is not monitored!
Viewing all articles
Browse latest Browse all 4845

New Post: Custom headers in response

$
0
0
Hi albpara,

You have full control over the HTTP response that you send to each client request with the http_listener. Specifically for headers take a look at the http_response::headers() function. It returns a reference to the http_headers for the response, you then add and set whatever headers you want.

Steve

Viewing all articles
Browse latest Browse all 4845

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>