Skip to main content

Interface: LicenseAwareTransport

Defined in: types.ts:48

A transport that can hand back a licence token it saw on a response header (X-Rasd-License, spine §9 / docs/10 §1.3). The frozen SyncTransport has no place for it, so the engine feature-detects this method, forwards the token to license.setToken when the host passed one, and re-emits it as the licenseRefreshed event.

Extended by

Methods

onLicenseToken()

onLicenseToken(handler): Unsubscribe;

Defined in: types.ts:49

Parameters

ParameterType
handler(token, meta?) => void

Returns

Unsubscribe