static class used to perform HTTP requests.
More...
#include <FacebookClient.h>
|
virtual Windows::Foundation::IAsyncOperation< Platform::String^ >^ | GetTaskAsync (Platform::String^ path, Windows::Foundation::Collections::PropertySet^ parameters) |
|
virtual Windows::Foundation::IAsyncOperation< Platform::String^ >^ | PostTaskAsync (Platform::String^ path, Windows::Foundation::Collections::PropertySet^ parameters) |
|
virtual Windows::Foundation::IAsyncOperation< Platform::String^ >^ | DeleteTaskAsync (Platform::String^ path, Windows::Foundation::Collections::PropertySet^ parameters) |
|
virtual Platform::String^ | ParametersToQueryString (Windows::Foundation::Collections::PropertySet^ Parameters) |
|
static class used to perform HTTP requests.
Windows::Foundation::IAsyncOperation< String^ > FBClient::DeleteTaskAsync |
( |
Platform::String^ |
path, |
|
|
Windows::Foundation::Collections::PropertySet^ |
parameters |
|
) |
| |
|
virtual |
Performs an HTTP DELETE request to path with parameters as the request query string
- Parameters
-
path | The URL to send the request to. |
parameters | The query string parameters of the request. |
- Returns
- The HTTP response content
- Exceptions
-
Exception | thrown on any error in the request process. |
Implements winsdkfb::IHttpClient.
IAsyncOperation< String^ > FBClient::GetTaskAsync |
( |
Platform::String^ |
path, |
|
|
Windows::Foundation::Collections::PropertySet^ |
parameters |
|
) |
| |
|
virtual |
Performs an HTTP GET request to path with parameters as the request query string
- Parameters
-
path | The URL to send the request to. |
parameters | The query string parameters of the request. |
- Returns
- The HTTP response content
- Exceptions
-
Exception | thrown on any error in the request process. |
Implements winsdkfb::IHttpClient.
String FBClient::ParametersToQueryString |
( |
Windows::Foundation::Collections::PropertySet^ |
Parameters | ) |
|
|
virtual |
Transforms Parameters to a query string.
- Parameters
-
Parameters | The key-value pairs of the query string |
- Returns
- A query string of the form "key1=value1&key2=value2&..." etc.
Implements winsdkfb::IHttpClient.
IAsyncOperation< String^ > FBClient::PostTaskAsync |
( |
Platform::String^ |
path, |
|
|
Windows::Foundation::Collections::PropertySet^ |
parameters |
|
) |
| |
|
virtual |
Performs an HTTP POST request to path with parameters as the request query string
- Parameters
-
path | The URL to send the request to. |
parameters | The query string parameters of the request. |
- Returns
- The HTTP response content
- Exceptions
-
Exception | thrown on any error in the request process. |
Implements winsdkfb::IHttpClient.
The documentation for this class was generated from the following files:
- E:/tmp/documentation/winsdkfb/winsdkfb/winsdkfb/winsdkfb.Shared/FacebookClient.h
- E:/tmp/documentation/winsdkfb/winsdkfb/winsdkfb/winsdkfb.Shared/FacebookClient.cpp