Beta
Optional
cmcd?: CmcdThe Common Media Client Data (CMCD) that comprises media and request related information.
Optional
credentials?: RequestCredentialsIndicates whether the user agent should send or receive cookies from the other domain in the case of cross-origin requests.
Optional
customData?: anyAny custom data.
Optional
headers?: Record<string, string>The headers object associated with the request.
The request's method (GET, POST, etc).
Optional
mode?: RequestModeThe mode of the request (e.g., cors, no-cors, same-origin, etc).
Optional
responseType?: stringThe response type with which the response from the server shall be compatible.
Optional
timeout?: numberThe number of milliseconds the request can take before automatically being terminated. If undefined or value is 0 then there is no timeout.
The URL of the request.
Common request API.