Appearance
Function: setDefaultRoutingConfig()
ts
function setDefaultRoutingConfig(config): Promise<void>;Set the default custom routing configuration applied to subsequent routes.
Parameters
| Parameter | Type | Description |
|---|---|---|
config | DefaultCustomRoutingConfig | The DefaultCustomRoutingConfig to apply. Required; must be a plain object. |
Returns
Promise<void>
a promise that resolves once the config is sent.
Throws
MAPSTED-1013 when config is null / undefined, an array, or not an object.
Throws
MAPSTED-1090 when the API is not READY.