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.GraphQLGraphQLQuery
GraphQL query - cancellationToken
- Type: System.ThreadingCancellationToken
Return Value
Type: TaskStringexecution result
Implements
IGraphqlAdapterExecuteToJsonAsync(GraphQLQuery, CancellationToken)See Also