Interface GMXMLHttpRequestOptions

Request options for {@link GM_xmlhttpRequest}.

see

{@link http://wiki.greasespot.net/GM_xmlhttpRequest#Arguments}

Index

Properties

Properties

optional public binary?: boolean

optional public context?: any

optional public data?: string

optional public headers?: Object

public method: string

optional public onabort?: (response: GMXMLHttpRequestResponse) => any

optional public onerror?: (response: GMXMLHttpRequestResponse) => any

optional public onload?: (response: GMXMLHttpRequestResponse) => any

optional public onprogress?: (response: GMXMLHttpRequestProgressResponse) => any

optional public onreadystatechange?: (response: GMXMLHttpRequestResponse) => any

optional public ontimeout?: (response: GMXMLHttpRequestResponse) => any

optional public overrideMimeType?: string

optional public password?: string

optional public synchronous?: boolean

optional public timeout?: number

optional public upload?: { onabort?: (response: GMXMLHttpRequestResponse) => any; onerror?: (response: GMXMLHttpRequestResponse) => any; onload?: (response: GMXMLHttpRequestResponse) => any; onprogress?: (response: GMXMLHttpRequestProgressResponse) => any; }

optional public upload.onabort?: (response: GMXMLHttpRequestResponse) => any

optional public upload.onerror?: (response: GMXMLHttpRequestResponse) => any

optional public upload.onload?: (response: GMXMLHttpRequestResponse) => any

optional public upload.onprogress?: (response: GMXMLHttpRequestProgressResponse) => any

public url: string

optional public user?: string