blob: 5144de597aa9628427cca479dd51e60e3f12e1e9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#ifndef _SKYPE_REQUEST_CONTACTS_H_
#define _SKYPE_REQUEST_CONTACTS_H_
class GetContactsRequest : public HttpRequest
{
public:
GetContactsRequest(const char *token) :
HttpRequest(REQUEST_GET, "api.skype.com/users/self/contacts?hideDetails=true")
{
flags |= NLHRF_SSL;
AddHeader("X-Skypetoken", token);
AddHeader("Accept", "application/json");
}
};
#endif //_SKYPE_REQUEST_CONTACTS_H_
|