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")@:impl@:enuminlineread onlyARRAYBUFFER:XMLHttpRequestResponseType = "arraybuffer"

@:value(cast "blob")@:impl@:enuminlineread onlyBLOB:XMLHttpRequestResponseType = "blob"

@:value(cast "document")@:impl@:enuminlineread onlyDOCUMENT:XMLHttpRequestResponseType = "document"

@:value(cast "json")@:impl@:enuminlineread onlyJSON:XMLHttpRequestResponseType = "json"

@:value(cast "")@:impl@:enuminlineread onlyNONE:XMLHttpRequestResponseType = ""

@:value(cast "text")@:impl@:enuminlineread onlyTEXT:XMLHttpRequestResponseType = "text"