Class BackgroundFetchRecord
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
NOTE
ExperimentalBackgroundFetchRecord 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().
Constructors
BackgroundFetchRecord()
public BackgroundFetchRecord()
Properties
Request
NOTE
Experimentalrequest read-only property of the BackgroundFetchRecord interface returns the details of the resource to be fetched.
[Value("request")]
public Request Request { get; }
Property Value
Remarks
ResponseReady
NOTE
ExperimentalresponseReady read-only property of the BackgroundFetchRecord interface returns a {{jsxref("Promise")}} that resolves with a Response.
[Value("responseReady")]
public Task<Response> ResponseReady { get; }