Skip to content
This repository was archived by the owner on Aug 18, 2021. It is now read-only.

ApiWrapper

Gustavo Denis edited this page Oct 31, 2019 · 1 revision
Main > Using Liquid for building your application > Set up configuration per environment > ApiWrapper

Configure each ApiWrapper entry name to be called as the example bellow:

ApiWrapper: {
        "ApiName1": {
            "Host": "http://localhost",
            "Port": "1071",
            "Telemetry": true
        },
        "ApiName2": {
            "Host": "http://localhost",
            "Port": "1072"
        }
    },

Where:

  • [ApiName]: is the name of API to be direct called in code (see calling APIs directly);
  • [ApiName].Host: IP number or DNS name of the remote server;
  • [ApiName].Port: the port number the remote server is listening;
  • [ApiName].Telemetry: indicates whether Liquid should or should not automatically gather telemetry from the calls to this API.

Clone this wiki locally