RequestInit constructor
RequestInit({
- String method,
- HeadersInit headers,
- BodyInit? body,
- String referrer,
- ReferrerPolicy referrerPolicy,
- RequestMode mode,
- RequestCredentials credentials,
- RequestCache cache,
- RequestRedirect redirect,
- String integrity,
- bool keepalive,
- AbortSignal? signal,
- RequestDuplex duplex,
- RequestPriority priority,
- JSAny? window,
- AttributionReportingRequestOptions attributionReporting,
- IPAddressSpace targetAddressSpace,
- PrivateToken privateToken,
- bool adAuctionHeaders,
Implementation
external factory RequestInit({
String method,
HeadersInit headers,
BodyInit? body,
String referrer,
ReferrerPolicy referrerPolicy,
RequestMode mode,
RequestCredentials credentials,
RequestCache cache,
RequestRedirect redirect,
String integrity,
bool keepalive,
AbortSignal? signal,
RequestDuplex duplex,
RequestPriority priority,
JSAny? window,
AttributionReportingRequestOptions attributionReporting,
IPAddressSpace targetAddressSpace,
bool sharedStorageWritable,
PrivateToken privateToken,
bool adAuctionHeaders,
});