How can I add headers when I am running execute method with MagentoGraphqlClient
How can I add headers when I am running execute method with MagentoGraphqlClient. For example below:
Below query is an object of MagentoGraphqlClient and genetateQuery() gives me the Graphql query in String format.
I can not see any option in MagentoGrahpqlClient object to set the headers.
if (query == null) {
query = generateQuery();
}
return client.execute(query);
