http_headers::set_cache_control Method

Sets the cache control header of the message.

_ASYNCRTIMP void set_cache_control(
   utility::string_t control
);

Parameters

  • control
    The cache control header value.

Requirements

Header: http_msg.h

Namespace: web::http

See Also

Reference

http_headers Class