Share via


http_headers::set_content_length Method

Sets the content length of the message.

_ASYNCRTIMP void set_content_length(
   size_t length
);

Parameters

  • length
    The length of the content.

Requirements

Header: http_msg.h

Namespace: web::http

See Also

Reference

http_headers Class