Graphql constructor

Graphql(
  1. String applicationUrl,
  2. MocoOpts? opt,
  3. 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;
  }
}