Interface Request

Represents an HTTP request.

interface Request {
    body: RequestBody;
    headers: HTTPHeaders;
    mediaType: MediaType;
    method: RequestMethod;
    responseType: ResponseType;
    subType: RequestSubType;
    type: RequestType;
    url: string;
    useCredentials: boolean;

Hierarchy (view full)


The request's body.

headers: HTTPHeaders

The request's HTTP headers.

mediaType: MediaType

The request's media type.

The request's HTTP method.

responseType: ResponseType

The request's response type.

The request's subtype.

The request's type.

url: string

The request's URL.

useCredentials: boolean

Whether the player is allowed to use credentials for cross-origin requests.