Readonly
baseThe base URL of the API environemnt.
Static
Readonly
ProductionProduction environment instance.
// Example usage
const apiEnvironmentProduction = ApiEnvironment.Production;
Static
Readonly
TestTest environment instance.
// Example usage
const apiEnvironmentTest = ApiEnvironment.Test;
Static
createCreates a custom API environment.
The base URL of the custom environment.
The custom API environment instace.
// Example usage
const customApiEnvironment = ApiEnvironment.create('http://my-api.com');
Model that represents an API environment.
Export
ApiEnvironment