diff options
author | George Hazan <ghazan@miranda.im> | 2020-02-18 21:36:18 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-02-18 21:36:18 +0300 |
commit | 5f1b32a8d66e21430457a5e33b58b27fa10110af (patch) | |
tree | 48f17e495ad4d049f3fe28a4c00f06c66662edbb /protocols/Twitter/src/http.h | |
parent | 410ea51a6e4821beb207537c0e4f49d7bf343b93 (diff) |
Twitter:
- major code rework due to changed API;
- whole bunch of std++ trash wiped out;
- modern http requests implementation using MHttpRequest;
- first digit in version changed
Diffstat (limited to 'protocols/Twitter/src/http.h')
-rw-r--r-- | protocols/Twitter/src/http.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/protocols/Twitter/src/http.h b/protocols/Twitter/src/http.h index e3ed522383..0522fa53ab 100644 --- a/protocols/Twitter/src/http.h +++ b/protocols/Twitter/src/http.h @@ -19,20 +19,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once
-#include <string>
-
namespace http
{
- enum method
- {
- get,
- post
- };
-
struct response
{
response() : code(0) {}
int code;
- std::string data;
+ CMStringA data;
};
}
|