http_response::http_response-Konstruktor
Erstellt eine Antwort mit einem leeren Statuscode, ohne Header und Inhalt.
http_response();
http_response(
http::status_code code
);
http_response(
const http_response &response
);
Parameter
code
In der Antwort zu verwendender HTTP-Statuscode.response
Die http_response, von der kopiert werden soll.
Rückgabewert
Eine neue HTTP-Antwort.
Anforderungen
Header: http_msg.h
Namespace: web::http