src/lib/extensions/load-balancer.service.ts
Methods |
|
Accessors |
constructor(zone: NgZone, config: ConfigService, mediator: MediatorService, util: UtilService, appSettings: AppSettingsService)
|
||||||||||||||||||||||||
|
Constructor
Parameters :
|
| Public getAllHosts |
getAllHosts()
|
|
Get all hosts
Returns :
Promise<any>
|
| Public getHost |
getHost()
|
|
Gets current host address.
Returns :
string
|
| Public getRequestUrl | ||||||
getRequestUrl(method: string)
|
||||||
|
Get the request url for a given method.
Parameters :
Returns :
string
|
| Public setLoadBalancerTransport | ||||||||
setLoadBalancerTransport(transport: Transport)
|
||||||||
|
Sets the transport for the load balancer
Parameters :
Returns :
void
|
| hostAddress |
gethostAddress()
|
|
Host Address used
Returns :
string
|
| hostPort |
gethostPort()
|
|
Host Port used
Returns :
string
|