Rename function

This commit is contained in:
Chocobo1 2020-05-10 02:51:37 +08:00
parent 74a2168bc1
commit d57b9be706
No known key found for this signature in database
GPG key ID: 210D9C873253A68C
3 changed files with 7 additions and 7 deletions

View file

@ -35,7 +35,7 @@ void ResponseBuilder::status(const uint code, const QString &text)
m_response.status = {code, text};
}
void ResponseBuilder::header(const Header &header)
void ResponseBuilder::setHeader(const Header &header)
{
m_response.headers[header.name] = header.value;
}