onHostname()
Home > @gooddata/sdk-backend-spi > IAnalyticalBackend > onHostname
IAnalyticalBackend.onHostname() method
Creates new instance of backend on the provided hostname.
Signature:
onHostname(hostname: string): IAnalyticalBackend;
Parameters
Parameter | Type | Description |
---|---|---|
hostname | string | host[:port] |
Returns:
new, unauthenticated instance
Remarks
It is valid NOT TO specify any hostname, in which case the analytical backend assumes it should communicate with the current origin.