Skip to content

AjaxOptions

Unofficial

Options for an ajax request.

Signature:

export interface AjaxOptions

Properties

PropertyTypeDescription
data?ArrayBuffer | object | stringThe 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?XMLHttpRequestThe XMLHttpRequest object.
urlstringThe URL of the AJAX request.
withCredentials?booleanWhether to send credentials with the AJAX request.

Links to this page: