summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/requests/profile.h
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-03-22 21:07:19 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-03-22 21:07:19 +0000
commitd2a83c7d22df33abd1678756fd4caba432700860 (patch)
treee1e2dc51a300c3af8fb9877f97a34db094ea2653 /protocols/SkypeWeb/src/requests/profile.h
parenta9edb12c2cc13a74f16c0a61deaeaa8780f13f4e (diff)
SkypeWeb:
- refactored HttpRequest 2 - status changing support (patch from MikalaiR) git-svn-id: http://svn.miranda-ng.org/main/trunk@12478 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/requests/profile.h')
-rw-r--r--protocols/SkypeWeb/src/requests/profile.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/protocols/SkypeWeb/src/requests/profile.h b/protocols/SkypeWeb/src/requests/profile.h
index 2c0b4e8fb6..579ac446b4 100644
--- a/protocols/SkypeWeb/src/requests/profile.h
+++ b/protocols/SkypeWeb/src/requests/profile.h
@@ -1,14 +1,12 @@
#ifndef _SKYPE_REQUEST_PROFILE_H_
#define _SKYPE_REQUEST_PROFILE_H_
-class GetProfileRequest : public HttpRequest
+class GetProfileRequest : public HttpsGetRequest
{
public:
GetProfileRequest(const char *token, const char *skypename = "self") :
- HttpRequest(REQUEST_GET, "api.skype.com/users/%s/profile", skypename)
+ HttpsGetRequest("api.skype.com/users/%s/profile", skypename)
{
- flags |= NLHRF_SSL;
-
Headers
<< CHAR_VALUE("X-Skypetoken", token)
<< CHAR_VALUE("Accept", "application/json");