class GQL::Client

Defined in:

client.cr

Constant Summary

DEFAULT_HEADERS = HTTP::Headers {"Content-Type" => "application/json", "Accept" => "application/json"}

Constructors

Instance Method Summary

Constructor Detail

def self.new(uri : URI, headers : Hash(String, String), tls = true) #

[View source]

Instance Method Detail

def headers : HTTP::Headers #

[View source]
def http : HTTP::Client #

[View source]
def query(&) #

[View source]
def uri : URI #

[View source]