Abstracts creating and sending queries and mutations via a BaseLoader.
More...
Abstracts creating and sending queries and mutations via a BaseLoader.
◆ QueryLoader()
Shopify.Unity.SDK.QueryLoader.QueryLoader |
( |
BaseLoader |
loader | ) |
|
|
inline |
Accepts the BaseLoader , which will do network communcation to send GraphQL queries.
- Parameters
-
loader | will perform network communication to send GraphQL queries to a GraphQL endpoint |
◆ Mutation() [1/2]
void Shopify.Unity.SDK.QueryLoader.Mutation |
( |
MutationDelegate |
buildQuery, |
|
|
MutationResponseHandler |
callback |
|
) |
| |
|
inline |
Generates GraphQL mutations.
- Parameters
-
buildQuery | Delegate to build a mutation query |
callback | callback that receives the mutation response |
◆ Mutation() [2/2]
void Shopify.Unity.SDK.QueryLoader.Mutation |
( |
MutationQuery |
query, |
|
|
MutationResponseHandler |
callback |
|
) |
| |
|
inline |
Sends GraphQL mutations to a GraphQL endpoint.
- Parameters
-
query | mutation to be sent to GraphQL endpoint |
callback | callback that receives the mutation response |
◆ Query() [1/2]
void Shopify.Unity.SDK.QueryLoader.Query |
( |
QueryRootDelegate |
buildQuery, |
|
|
QueryResponseHandler |
callback |
|
) |
| |
|
inline |
Generates GraphQL queries.
- Parameters
-
buildQuery | Delegate to build query |
callback | callback that receives the query response |
◆ Query() [2/2]
void Shopify.Unity.SDK.QueryLoader.Query |
( |
QueryRootQuery |
query, |
|
|
QueryResponseHandler |
callback |
|
) |
| |
|
inline |
Sends GraphQL queries to the GraphQL endpoint.
- Parameters
-
query | query to be sent to the GraphQL endpoint |
callback | callback that receives the query response |
The documentation for this class was generated from the following file:
- Assets/Shopify/Unity/SDK/QueryLoader.cs