GoodData.UI API reference
  • GoodData.UI
  • Docs & APIs
  • Developers
  • GoodData.CN
  • GoodData.UI
  • Docs & APIs
  • Get GoodData.CN Community Edition
  • 10.26.0
  • Code samples
  • Gallery
  • GitHub

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

ParameterTypeDescription
hostnamestringhost[:port]

Returns:

IAnalyticalBackend

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.

  • IAnalyticalBackend.onHostname() method
  • Parameters
  • Remarks
GoodData resources:
  • Documentation
Follow the community:
  • Community
Copyright © 2007–2025 GoodData Corporation. All Rights Reserved. Code licensed under a dual license - CC BY‑NC 4.0 for trial experience and GoodData.UI EULA for commercial use