Version: 2.69.0

Request

THEOplayer > Request

Request interface

Represents an HTTP request.

Signature:
export interface Request

Properties

PropertyTypeDescription
bodyRequestBodyThe request's body.
headersHTTPHeadersThe request's HTTP headers.
mediaTypeMediaTypeThe request's media type.
methodRequestMethodThe request's HTTP method.
responseTypeResponseTypeThe request's response type.
subTypeRequestSubTypeThe request's subtype.
typeRequestTypeThe request's type.
urlstringThe request's URL.
useCredentialsbooleanWhether the player is allowed to use credentials for cross-origin requests.