Skip to content

AjaxOptions

Unofficial

Options for an ajax request.

Signature:

export interface AjaxOptions

Properties

Property Type Description
data? ArrayBuffer | object | string The data of the AJAX request.
headers? Record<string, string> The headers of the AJAX request.
method? 'GET' | 'POST' The method of the AJAX request.
req? XMLHttpRequest The XMLHttpRequest object.
url string The URL of the AJAX request.
withCredentials? boolean Whether to send credentials with the AJAX request.

Links to this page: