示例#1
0
void HttpHeaders::addIntHeader(HttpMessage& message, const std::string& name, int value) {
    message.addHeader(name, Integer::toString(value));
}
示例#2
0
void HttpHeaders::addHeader(HttpMessage& message, const std::string& name, const std::string& value) {
    message.addHeader(name, value);
}