Commit 1cbf1554 authored by knowledge4igor's avatar knowledge4igor

Change parameters name

parent d45e0aa5
...@@ -296,7 +296,7 @@ public: ...@@ -296,7 +296,7 @@ public:
RequestBuilder& body(const std::string& val); RequestBuilder& body(const std::string& val);
RequestBuilder& body(std::string&& val); RequestBuilder& body(std::string&& val);
RequestBuilder& timeout(std::chrono::milliseconds timeout); RequestBuilder& timeout(std::chrono::milliseconds val);
Async::Promise<Response> send(); Async::Promise<Response> send();
......
...@@ -725,7 +725,7 @@ RequestBuilder::body(std::string&& val) { ...@@ -725,7 +725,7 @@ RequestBuilder::body(std::string&& val) {
} }
RequestBuilder& RequestBuilder&
RequestBuilder::timeout(std::chrono::milliseconds timeout) { RequestBuilder::timeout(std::chrono::milliseconds val) {
timeout_ = timeout; timeout_ = timeout;
return *this; return *this;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment