class GraphQLClient::GraphQLClient

Defined in:

cr-graphql-client.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(host : String, endpoint : String) #

Create a new client with GraphQLClient.new endpoint for example qqlclient = GraphQLClient.new "https://graphql.org/swapi-graphql/"


[View source]

Instance Method Detail

def fetch(query : String, headers : HTTP::Headers) #

[View source]