HttpBackendConfiguration

Configuration class for i18next-http-backend initialization.

This class encapsulates all the configuration options available for initializing i18next-http-backend in a Kotlin/JS environment.

See also

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Path to post missing resources.

Link copied to clipboard

Allows cross domain requests when true.

Link copied to clipboard
@Transient
var customHeaders: dynamic

Sets request.setRequestHeader(key, value) { authorization: 'foo', },

Link copied to clipboard

Path where resources get loaded from.

Link copied to clipboard

Sets request.overrideMimeType("application/json").

Link copied to clipboard
@Transient
var queryStringParams: dynamic

Adds query parameters to resource URL.

Link copied to clipboard

Allows credentials on cross domain requests .

Functions

Link copied to clipboard
open override fun getAsDynamic(): dynamic

Converts the interpolation configuration into a dynamic object suitable for i18next initialization.