Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the status code of the response message.
void set_status_code(
http::status_code code
) const;
Parameters
- code
Status code to set.
Remarks
This will overwrite any previously set status code.
Requirements
Header: http_msg.h
Namespace: web::http