LCCloud contains static functions that call LeanEngine cloud functions.
More...
|
static async Task< Dictionary< string, object > > | Run (string name, Dictionary< string, object > parameters=null) |
| Invokes a cloud function.
|
|
static async Task< T > | Run< T > (string name, Dictionary< string, object > parameters=null) |
| Invokes a cloud function.
|
|
static async Task< object > | RPC (string name, object parameters=null) |
| Invokes a cloud function as a remote procedure call.
|
|
static object | Encode (object parameters) |
|
|
static bool | IsProduction = true [get, set] |
| Whether using production environment (default) or staging environment.
|
|
LCCloud contains static functions that call LeanEngine cloud functions.
◆ Encode()
static object LeanCloud.Storage.LCCloud.Encode |
( |
object |
parameters | ) |
|
|
inlinestatic |
◆ RPC()
static async Task< object > LeanCloud.Storage.LCCloud.RPC |
( |
string |
name, |
|
|
object |
parameters = null |
|
) |
| |
|
inlinestatic |
Invokes a cloud function as a remote procedure call.
- Parameters
-
name | Cloud function name. |
parameters | Parameters of cloud function. |
- Returns
- LCObject, List<LCObject>, or Map<string, LCObject>.
◆ Run()
static async Task< Dictionary< string, object > > LeanCloud.Storage.LCCloud.Run |
( |
string |
name, |
|
|
Dictionary< string, object > |
parameters = null |
|
) |
| |
|
inlinestatic |
Invokes a cloud function.
- Parameters
-
name | Cloud function name. |
parameters | Parameters of cloud function. |
- Returns
- Dictionary<string, object> or List<object>.
◆ Run< T >()
Invokes a cloud function.
- Template Parameters
-
T | The type of return value. |
- Parameters
-
name | Cloud function name. |
parameters | Parameters of the cloud function. |
- Returns
◆ IsProduction
bool LeanCloud.Storage.LCCloud.IsProduction = true |
|
staticgetset |
Whether using production environment (default) or staging environment.
The documentation for this class was generated from the following file: