Logo Search packages:      
Sourcecode: xulrunner version File versions  Download package

attribute boolean nsIXMLHttpRequest::multipart

Set to true if the response is expected to be a stream of possibly multiple (XML) documents. If set to true, the content type of the initial response must be multipart/x-mixed-replace or an error will be triggerd. All requests must be asynchronous.

This enables server push. For each XML document that's written to this request, a new XML DOM document is created and the onload handler is called inbetween documents. Note that when this is set, the onload handler and other event handlers are not reset after the first XML document is loaded, and the onload handler will be called as each part of the response is received.

Definition at line 314 of file nsIXMLHttpRequest.idl.


Generated by  Doxygen 1.6.0   Back to index