Share via


http_response::reason_phrase Method

Gets the reason phrase of the response message. If no reason phrase is set it will default to the standard one corresponding to the status code.

const http::reason_phrase & reason_phrase() const;

Return Value

Reason phrase.

Requirements

Header: http_msg.h

Namespace: web::http

See Also

Reference

http_response Class