Table of Contents

Class BackgroundFetchRecord

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll
NOTE
Experimental
The BackgroundFetchRecord interface of the 'Background Fetch API' represents an individual request and response.
[Value("BackgroundFetchRecord")]
public class BackgroundFetchRecord
Inheritance
BackgroundFetchRecord
Inherited Members

Remarks

A BackgroundFetchRecord is created by the Match(Union42, CacheQueryOptions) method, therefore there is no constructor for this interface.

There will be one BackgroundFetchRecord for each resource requested by fetch().

See also on MDN

Constructors

BackgroundFetchRecord()

public BackgroundFetchRecord()

Properties

Request

NOTE
Experimental
The request read-only property of the BackgroundFetchRecord interface returns the details of the resource to be fetched.
[Value("request")]
public Request Request { get; }

Property Value

Request

A Request.

Remarks

ResponseReady

NOTE
Experimental
The responseReady read-only property of the BackgroundFetchRecord interface returns a {{jsxref("Promise")}} that resolves with a Response.
[Value("responseReady")]
public Task<Response> ResponseReady { get; }

Property Value

Task<Response>

A {{jsxref("Promise")}} that resolves with a Response.

Remarks