Skip to content

Commit 559647c

Browse files
committed
Method overloading structure converted to Builder Pattern
1 parent b5f945a commit 559647c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -412,12 +412,12 @@ send return the class itself, so they can be added one after the other like a ch
412412
> All methods and parameters descriptions are also available within the code as comment for IDEs.
413413
414414
```cpp
415-
- HttpRequest &setMethod(const HttpMethod &method)
416-
- HttpRequest &setQueryString(const std::string &queryString)
417-
- HttpRequest &setPayload(const std::string &payload)
418-
- HttpRequest &returnAsBinary()
419-
- HttpRequest &ignoreSslErrors()
420-
- HttpRequest &addHeader(const std::string &key, const std::string &value)
415+
- HttpRequest &setMethod(const HttpMethod &method) noexcept
416+
- HttpRequest &setQueryString(const std::string &queryString) noexcept
417+
- HttpRequest &setPayload(const std::string &payload) noexcept
418+
- HttpRequest &returnAsBinary() noexcept
419+
- HttpRequest &ignoreSslErrors() noexcept
420+
- HttpRequest &addHeader(const std::string &key, const std::string &value) noexcept
421421
- std::future<HttpResult> send() noexcept
422422

423423
```

0 commit comments

Comments
 (0)