Skip to content

breeze-client / AjaxAdapterRegistration

Interface: AjaxAdapterRegistration ​

Defined in: src/config/configure.ts:14

An ajax adapter, which may additionally accept a custom transport.

Methods ​

register() ​

register(breezeConfig?, fetchFn?): any

Defined in: src/config/configure.ts:20

Registers the adapter and initializes it as the default ajax adapter, as AjaxFetchAdapter.register does. configureBreeze calls it with its target config and, when you pass one, the fetch option as the adapter's transport.

Parameters ​

breezeConfig? ​

BreezeConfig

fetchFn? ​

BreezeFetch

Returns ​

any

Released under the MIT License.