diff options
| author | Alexander Taylor <alex@vector35.com> | 2022-03-14 16:04:13 -0400 |
|---|---|---|
| committer | Alexander Taylor <alex@vector35.com> | 2022-03-14 16:04:13 -0400 |
| commit | 9f09f682617f5501457a7f34bde0b26667b96d14 (patch) | |
| tree | 7a5df10a9ed711401fc594f313f8270db8a65bab /binaryninjaapi.h | |
| parent | f336fa97d187890d7ec25973387a9715e67ea813 (diff) | |
These functions do not return positive values.
Diffstat (limited to 'binaryninjaapi.h')
| -rw-r--r-- | binaryninjaapi.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h index e11b7d9f..351c9797 100644 --- a/binaryninjaapi.h +++ b/binaryninjaapi.h @@ -5505,7 +5505,7 @@ namespace BinaryNinja { /*! Virtual method to synchronously perform a GET request to a url, overridden by a subclass \param url Full url to request - \return Zero or greater on successful request and HTTP 200 status + \return Zero on successful request, negative on failed request */ virtual int PerformRequest(const std::string& url) = 0; /*! @@ -5514,7 +5514,7 @@ namespace BinaryNinja { \param url Full url to request \param headers HTTP headers as keys/values \param response Structure into which the response status code and headers should be stored - \return Zero or greater on success + \return Zero on successful request, negative on failed request */ virtual int PerformCustomRequest(const std::string& method, const std::string& url, const std::unordered_map<std::string, std::string>& headers, Response& response) = 0; @@ -5529,7 +5529,7 @@ namespace BinaryNinja { Send a GET request to a url, synchronously \param url Full url to request \param callbacks Structure with callback functions for output data - \return Zero or greater on successful request and HTTP 200 status + \return Zero on successful request, negative on failed request */ int PerformRequest(const std::string& url, BNDownloadInstanceOutputCallbacks* callbacks); /*! @@ -5539,7 +5539,7 @@ namespace BinaryNinja { \param headers HTTP headers as keys/values \param response Structure into which the response status code and headers are stored \param callbacks Structure with callback functions for input and output data - \return Zero or greater on success + \return Zero on successful request, negative on failed request */ int PerformCustomRequest(const std::string& method, const std::string& url, const std::unordered_map<std::string, std::string>& headers, Response& response, |
