string
$http_info)Set the complete message info, i.e. type and response resp. request information, at once. See http\Message::getInfo().
The message info looks similar to the following line for a response, see also http\Message::setResponseCode() and http\Message::setResponseStatus():
HTTP/1.1 200 Ok
The message info looks similar to the following line for a request, see also http\Message::setRequestMethod() and http\Message::setRequestUrl():
GET / HTTP/1.1
See http\Message::setHttpVersion().