Table of contents
- 1. Properties
- 2. Constructors
- 3. Methods
This class is used for sending a request to Gigya Service.
Properties
Constructors
| Constructor | Description |
| GSRequest(string apiKey, string secretKey, string apiMethod) | Constructs a request using the following parameters:
|
| GSRequest(string apiKey, string secretKey, string apiMethod, Boolean useHTTPS) | Constructs a request using the following parameters:
|
| GSRequest(string apiKey, string secretKey, string apiMethod, GSObject parameters) | Constructs a request using the following parameters:
|
| GSRequest(string apiKey, string secretKey, string apiMethod, GSObject parameters, Boolean useHTTPS) | Constructs a request using the following parameters:
|
| GSRequest(string accessToken, string apiMethod) | Constructs a request using the following parameters:
|
| GSRequest(string accessToken, string apiMethod, GSObject clientParams) | Constructs a request using the following parameters:
|
Methods
| Method | Description | |
| static string | BuildQS(bool addQuestionMark, GSObject paramDictionary) | Converts a GSObject to a query string. Parameters:
|
| GSObject | GetParams() | Returns a GSObject containing the parameters of this request. |
| GSResponse | Send() | Sends the request synchronously. The method returns a GSResponse object which represents Gigya's response. |
| GSResponse | Send(int timeout) | Sends the request synchronously. The method returns a GSResponse object which represents Gigya's response. Parameters:
|
| IAsyncResult | BeginSend(AsyncCallback callback, object state) | Sends the request asynchronously. The method returns an object that implements IAsyncResult representing the status of the asynchronous request on which you can wait. See the Calling Synchronous Methods Asynchronously topic. Parameters:
See the Using an AsyncCallback Delegate and State Object topic. |
| void | SetParam(string param, int value) | Sets a request parameter with a value. If the parameter already exists, the old value is replaced by the specified value. Parameters:
|
| void | SetParam(string param, long value) | Sets a request parameter with a value. If the parameter already exists, the old value is replaced by the specified value. Parameters:
|
| void | SetParam(string param, bool value) | Sets a request parameter with a value. If the parameter already exists, the old value is replaced by the specified value. Parameters:
|
| void | SetParam(string param, string value) | Sets a request parameter with a value. If the parameter already exists, the old value is replaced by the specified value. Parameters:
|
| void | SetParam(string param, GSObject value) | Sets a request parameter with a value. If the parameter already exists, the old value is replaced by the specified value. Parameters:
|
| void | SetParam(string param, GSArray value) | Sets a request parameter with a value. If the parameter already exists, the old value is replaced by the specified value. Parameters:
|
| static string | UrlEncode(string value) | Applies URL encoding rules to the parameter string, and returns the outcome. |

Comments