Options
All
  • Public
  • Public/Protected
  • All
Menu

Configuration of the SPA SDK using reverse proxy-based setup.

Hierarchy

Index

Properties

NBRMode?: boolean

The NBRMode parameter used to indicate whether the children of the BrPage component should be rendered immediatly or wait with rendering until the Page model has been retrieved and parsed. By default, the option is false.

apiVersion?: string

Current API version. By default, the compatible with the current setup version will be chosen.

apiVersionHeader?: string

API version header. By default, Accept-Version will be used.

authorizationHeader?: string

Authorization header. By default, Authorization will be used.

authorizationToken?: string

Authorization token. By default, the SDK will try to extract the token from the request query string using authorizationQueryParameter option.

debug?: boolean

The option enabling debug mode.

httpClient: HttpClient<PageModel>

HTTP client that will be used to fetch the page model.

options: UrlOptions

Options for generating the page model API URL.

path?: string

The path part of the URL, including a query string if present. For example: '/path/to/page?foo=1'. The path always starts with '/'.

request?: HttpRequest

Current user's request.

serverId?: string

Cluster node identifier. By default, the SDK will try to extract the value from the request query string using serverIdQueryParameter option.

serverIdHeader?: string

Header identifying the current cluster node. By default, Server-Id will be used.

visitor?: Omit<Visitor, "new">

Current visitor. This parameter takes precedence over request.visitor.

window?: Window

The window reference for the CMS integration. By default the global window object will be used.