content parameter in Client::request is now of type std::iostream
This commit is contained in:
parent
faf3c68c4b
commit
99204ec73d
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ namespace SimpleWeb {
|
|||
return request(request_type, path, empty_ss, header);
|
||||
}
|
||||
|
||||
std::shared_ptr<Response> request(const std::string& request_type, const std::string& path, std::ostream& content,
|
||||
std::shared_ptr<Response> request(const std::string& request_type, const std::string& path, std::iostream& content,
|
||||
const std::map<std::string, std::string>& header=std::map<std::string, std::string>()) {
|
||||
std::string corrected_path=path;
|
||||
if(corrected_path=="")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue