Skip to content

NavigationPreloadManager

Values

disable

let disable: WebAPI.ServiceWorkerAPI.navigationPreloadManager => Promise.t<
unit,
>

Parameters

WebAPI.ServiceWorkerAPI.navigationPreloadManager

Return type

Promise.t< unit >

enable

let enable: WebAPI.ServiceWorkerAPI.navigationPreloadManager => Promise.t<
unit,
>

Parameters

WebAPI.ServiceWorkerAPI.navigationPreloadManager

Return type

Promise.t< unit >

getState

let getState: WebAPI.ServiceWorkerAPI.navigationPreloadManager => Promise.t<
WebAPI.ServiceWorkerAPI.navigationPreloadState,
>

setHeaderValue

let setHeaderValue: (
WebAPI.ServiceWorkerAPI.navigationPreloadManager,
string,
) => Promise.t<unit>

Parameters

WebAPI.ServiceWorkerAPI.navigationPreloadManager string

Return type

Promise.t< unit >