Executes GraphQL query and returns result as a string.
Namespace: NReco.GraphQL
Assembly: NReco.GraphQL (in NReco.GraphQL.dll) Version: 1.0.0
Syntax
public Task<string> ExecuteToJsonAsync( GraphQLQuery query, CancellationToken cancellationToken )
Parameters
- query
- Type: NReco.GraphQL.GraphQLQuery
GraphQL query - cancellationToken
- Type: System.Threading.CancellationToken
Return Value
Type: Task<String>execution result
Implements
IGraphqlAdapter.ExecuteToJsonAsync(GraphQLQuery, CancellationToken)See Also