The XMLHttpRequestResponseType type is an enumerated set of strings which are used to specify the type of data contained in the response of an XMLHttpRequest.

Documentation XMLHttpRequestResponseType by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See also:

Variables

@:value(cast "arraybuffer")@:enum@:implinlineread onlyARRAYBUFFER:XMLHttpRequestResponseType = "arraybuffer"

@:value(cast "blob")@:enum@:implinlineread onlyBLOB:XMLHttpRequestResponseType = "blob"

@:value(cast "document")@:enum@:implinlineread onlyDOCUMENT:XMLHttpRequestResponseType = "document"

@:value(cast "json")@:enum@:implinlineread onlyJSON:XMLHttpRequestResponseType = "json"

@:value(cast "")@:enum@:implinlineread onlyNONE:XMLHttpRequestResponseType = ""

@:value(cast "text")@:enum@:implinlineread onlyTEXT:XMLHttpRequestResponseType = "text"