new ApiClient()
Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an application to use this class directly - the *Api and model classes provide the public API for the service. The contents of this file should be regarded as internal but are documented for completeness.
Members
basePath :String
- Default Value:
- http://localhost
The base URL against which to resolve every API call's (relative) path.
Type:
- String
authentications :Array.<String>
The authentication methods to be included for all API calls.
Type:
- Array.<String>
defaultHeaders :Array.<String>
- Default Value:
- {}
The default HTTP headers to be included for all API calls.
Type:
- Array.<String>
timeout :Number
- Default Value:
- 60000
The default HTTP timeout for all API calls.
Type:
- Number
cache :Boolean
- Default Value:
- true
If set to false an additional timestamp parameter is added to all API GET calls to prevent browser caching
Type:
- Boolean
enableCookies
- Default Value:
- false
If set to true, the client will save the cookies from each server response, and return them in the next request.