diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2015-03-31 21:33:48 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2015-03-31 21:33:48 +0000 |
commit | 0f73f1572a03e5bae2664c1b2bb2cd18a1e33fca (patch) | |
tree | a5307998d7efd2cc464cc41dbf7ee3d0a6240ad3 /protocols/SkypeWeb/src/requests/login.h | |
parent | ff035d5933b88c564fdbf8ef5f899b6fa3ac63bb (diff) |
SkypeWeb:
- refactored status setting
- refactored HttpRequest 3
git-svn-id: http://svn.miranda-ng.org/main/trunk@12579 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/requests/login.h')
-rw-r--r-- | protocols/SkypeWeb/src/requests/login.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/protocols/SkypeWeb/src/requests/login.h b/protocols/SkypeWeb/src/requests/login.h index c7924a842c..54af48f211 100644 --- a/protocols/SkypeWeb/src/requests/login.h +++ b/protocols/SkypeWeb/src/requests/login.h @@ -1,13 +1,14 @@ #ifndef _SKYPE_REQUEST_LOGIN_H_
#define _SKYPE_REQUEST_LOGIN_H_
-class LoginRequest : public HttpsPostRequest
+class LoginRequest : public HttpRequest
{
public:
LoginRequest() :
- HttpsPostRequest("login.skype.com/login")
+ HttpRequest(REQUEST_POST, "login.skype.com/login")
{
//flags = NLHRF_SSL | NLHRF_NODUMPSEND | NLHRF_DUMPASTEXT;
+
Url
<< INT_VALUE("client_id", 578134)
<< CHAR_VALUE("redirect_uri", "https%3A%2F%2Fweb.skype.com");
@@ -18,9 +19,10 @@ public: }
LoginRequest(const char *skypename, const char *password, const char *pie, const char *etm) :
- HttpsPostRequest("login.skype.com/login")
+ HttpRequest(REQUEST_POST, "login.skype.com/login")
{
//flags = NLHRF_SSL | NLHRF_NODUMPSEND | NLHRF_DUMPASTEXT;
+
Url
<< INT_VALUE("client_id", 578134)
<< CHAR_VALUE("redirect_uri", "https%3A%2F%2Fweb.skype.com");
|