import { GraphQlClient } from "https://deno.land/x/kd_clients@v1.0.0-preview.13/core/GraphQlClient.ts";
Provides a base class for HTTP clients.
Constructors
Initializes a new instance of the GraphQlClient class.
Properties
protected
readonly
headers: HeadersMethods
protected
containsToken(): booleanReturns a value indicating whether or not a token was provided.
protected
executeQuery(query: string): Promise<GraphQlRequestResponseModel>Fetch a resource from the network. It returns a Promise that resolves to the Response to that request, whether it is successful or not.
protected
getResponseData(response: Response): Promise<GraphQlRequestResponseModel>Gets the response data from a request.