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