My Project  0.10.0
Windows SDK for Facebook
Public Member Functions | List of all members
winsdkfb::FBClient Class Reference

static class used to perform HTTP requests. More...

#include <FacebookClient.h>

Inheritance diagram for winsdkfb::FBClient:
winsdkfb::IHttpClient

Public Member Functions

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)
 

Detailed Description

static class used to perform HTTP requests.

Member Function Documentation

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
pathThe URL to send the request to.
parametersThe query string parameters of the request.
Returns
The HTTP response content
Exceptions
Exceptionthrown 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
pathThe URL to send the request to.
parametersThe query string parameters of the request.
Returns
The HTTP response content
Exceptions
Exceptionthrown 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
ParametersThe 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
pathThe URL to send the request to.
parametersThe query string parameters of the request.
Returns
The HTTP response content
Exceptions
Exceptionthrown on any error in the request process.

Implements winsdkfb::IHttpClient.


The documentation for this class was generated from the following files: