Graphql constructor
Graphql(
- String applicationUrl,
- MocoOpts? opt,
- HttpRequestClass httpClient
Implementation
Graphql(String applicationUrl, MocoOpts? opt, HttpRequestClass httpClient) {
this.appsUrl = applicationUrl + "/graphql";
this.client = httpClient;
if(opt != null) {
var a = opt.options!.payloadEncryption!.enforcement!.contains("GRAPHQL");
// print("GRAPHQL " + a.toString());
this.encryptMode = a;
}
}